MarketplaceStudioActivityjQuery Execution Activities

Create your first automation in just a few minutes.Try Studio Web

jQuery Execution Activities

jQuery Execution Activities

by Jeff Huang

StarStarStarStarStarStarStarStarStarStar

0

Activity

Downloads

1.1k

Arham Shahzad
Posted 3 months ago

Do you know how to resolve the error: Inject Jquery Script: TypeError: n is not a function

Jeff Huang
Posted a month ago ago

Hi Arham,

Hope you have resolved your problem.

If not, have you tested your code in the browser?

If your code doesn't work in the browser, you may search this error on the internet and find the possible cause as it looks like a JavaScript/jQuery coding error.

Otherwise, please refer to the user guide about how to use this jQuery custom activities package.

Thank you.

Manisha Pola
Posted 3 years ago

How can we return a datatable as an output of the jquery script?

Jeff Huang
Posted 3 years ago ago

Hi Manisha,

Sorry, I don't quite understand your question.

Datatable is not a native data type of JavaScript/jQuery. I think you cannot create a datatable variable in jQuery and return it.

To return multiple values from jQuery, you can return a string and parse it in your UiPath C#/VB.NET code.

Thank you.

Samantha Mott
Posted 3 years ago

Hi, sorry I don't see how to respond. No we're not making any ajax calls, just some query to interact with a webpage, hide and show elements, etc. Ever since then we are getting "Inject Jquery Script: The operation has timed out." intermittently and not sure why

EDIT: Yes thats what we did actually, moved to a local file, but after posting this yesterday I realized we had missed one instance :D thank you for responding!

Jeff Huang
Posted 3 years ago ago

Hi Samantha,

Thank you for the question.

According to the two errors and the information you provided, the problem could be from your jQuery library file.

Did you load it from a web URL? There can be various reasons that would cause these errors.

For instance, the unstable internet connection, the unstable hosted website or the firewall limit.

If you are able to, you may try to load the library file locally and see if it happens again?

Thanks.

EDIT: Glad to know you've solved it. You're welcome :D Happy coding!

Samantha Mott
Posted 3 years ago

Hi, do you know what would cause this error? Inject Jquery Script: The remote server returned an error: (503) Server Unavailable.

Jeff Huang
Posted 3 years ago ago

Hi, did you try to access a website or use something like AJAX to call a Web API? It looks like an error returned from the server. Please check if that server side App you'd like to access is working. Thanks.

Publisher

Jeff Huang

Visit publisher's page

License & Privacy

Apache

Privacy Terms

Technical

Version

2.0.0

Updated

November 23, 2022

Works with

Studio: 20.10.4 - 22.10.3

Certification

Silver Certified

Support

UiPath Community Support

Resources