"Execute javascript" on grid item frontend only?

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

"Execute javascript" on grid item frontend only?

Post by hpl123 »

Hi all,
I have a use case where I need a query with items and when an item is clicked, a FRONTEND JS script should run and do x (i.e it should not run anything in the backend on the Aware server). Is this how the "Execute javascript" option in grid "Operations with records" works? Anyone know?

It SEEMS to be how it works (but I need to know for sure) as when I run a test on this, the JS is executed in the frontend of the app and I see nothing in any of the Aware logs.
Henrik (V8 Developer Ed. - Windows)
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: "Execute javascript" on grid item frontend only?

Post by aware_support »

Yes, that's how it works - the script is executed in the front end with the "parser" object being in the context of the script. "parser" object is described in the Prohgrammer's Reference document
Aware IM Support Team
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: "Execute javascript" on grid item frontend only?

Post by hpl123 »

Thx 👍
Henrik (V8 Developer Ed. - Windows)
Post Reply