Hi,
While using inject js , getting $ reference error. but its perfectly working in console. did anyone faced this issue?
Anil_G
(Anil Gorthi)
May 23, 2023, 11:02am
2
@logesh_kumar1
Can you show how you have used inject js and what code are you using
How to use Inject JS Script Activity?
Preface: Inject JS Script activity is a very useful activity, but its use case and how to use may not be clear for those who have limited experience with JavaScript.
This guide will explain how to select multiple items using this Activity, which is one of the major use case of this activity (Select Multiple Items Activity should be the first choice and this can be used as a workaround).
How to use Inject JS Script Activity
In order to use Inject Jav…
Cheers
as of now , i have used hardcoded values.
Anil_G
(Anil Gorthi)
May 23, 2023, 11:27am
4
@logesh_kumar1
One argument is mandatory for this please include function(e) this argument is for passing the selected item in the indicate element of inject js or the html elemnet basically
Cheers
Anil_G
(Anil Gorthi)
May 23, 2023, 12:18pm
6
@logesh_kumar1
I guess references are not supported
Try using plain javascript and check
Cheers
need to use that command , thats why… plain js is working fine
Yoichi
(Yoichi)
May 23, 2023, 2:13pm
8
Hi,
Do you need to call jQuery? If so, the following custom activity might help you.
Regards,
is there any other solution without this? we could not able to use that package in our project
Yoichi
(Yoichi)
May 23, 2023, 2:48pm
10
Hi,
For now, can you try to set Page at ExecutionWorld property as the following?
Regards,
2 Likes
just wanted to say, I had a similar issue and this solution resolved it for me. thank you
1 Like