Last activity: 9 Aug 2017 7:00 EDT
Call Java script from activity
NIIT Technologies Limited
Please chech this link:
But first check if there is any other way to achieve your requirement.
Can you please share more information about your requiremnet. May be there is any other.
Moved this thread to a more appropriate section, Pega Platform > Java & Activities.
Can anybody please help me for the following query??
i have a number of records inside a repeating grid having a button in each row. when i click on the button of any row , a pop-up should come. i have implemented the pop-up using java script and the pop-up has two buttons( yes and no). if yes button is clicked then an activity will be fired and that activity should open that particuler row details on the clipboard. for this i want to pass an unique parameter for each record along with the activity inside that script function. how to do this??
I have a similar requirement. I have a customized jsp code for diplaying UI and inside the code - onclick of the icon it calls a function which is in ".js" file. Now for UI i am using pega sections but i need to call the function in ".js" file on click of the button/icon. So i somehow need to invoke the function on click of button by probably writing some java code in an activity. Can someone let me know how to achieve this or is there any other way to do this?
Thanks in advance.
U can use pega functionalty RunScript to call the js function on the button.
Did the Java script worked?
Also mention the plugins in any was needed for the same. Thanks in Advance
Is it possible to call google analytics JavaSscript code from an activity?