Question

3
Replies
1896
Views
zeinebB8796 Member since 2017 2 posts
Oligos
Posted: 2 years ago
Last activity: 2 years 4 months ago
Closed

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.

Low-Code App Development
Moderation Team has archived post
Share this page LinkedIn