Question
Oligos
FR
Last activity: 15 May 2018 2:38 EDT
Set a property from javascript to clipboard wihtout submitting
I have a requirement to set a value(which is not constant) from Javascript to clipboard without submitting. I found this explanation but it is not clear.
"You can use osafeurl, call an activity and pass the parameter to it.
It works,
oSafeURL =null;
var oSafeUrl = new SafeURL("SAE-HRSERVICES-WORK.MYACTIVITY",getReqURI());
oSafeUrl.put("Paramater Name","Paramater Value");
httpRequestAsynch(oSafeURL.toURL()); or var strResponse = httpRequestAsynch(oSafeUrl.toURL(),"post"); "
Can someone explain please what should we do in the activity "MYACTIVITY" and what are the parameters.