Discussion


Areteans Technologies
AU
Last activity: 9 Aug 2017 7:00 EDT
Call Java script from activity
Is there a way to call javascript through activity??
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!


NIIT Technologies Limited
AU
Please chech this link:
http://stackoverflow.com/questions/22856279/call-external-javascript-functions-from-java-code
But first check if there is any other way to achieve your requirement.


Incessant Technologies
IN
Hi,
Can you please share more information about your requiremnet. May be there is any other.
Regards,
Sumita


Pegasystems Inc.
US
Moved this thread to a more appropriate section, Pega Platform > Java & Activities.


Capgemini
AU
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??
Thanks,
Soumya.


Wipro Technologies
IN
Hi All,
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.


JP Morgan
IN
U can use pega functionalty RunScript to call the js function on the button.
-
Vivek Kumar


Accenture
IN
Did the Java script worked?


JP Morgan
IN
Yes
-
Grant Thompson


Accenture
IN
If anyone has code to call the javascript through actvity, can you pls share the source code?
Also mention the plugins in any was needed for the same. Thanks in Advance


Inovar
SA
Is it possible to call google analytics JavaSscript code from an activity?