Posted: 27 Jan 2017 11:41 EST Last activity: 30 Jan 2017 3:02 EST
Call Activity with Parameter
I have to call an activity with parameter from an HTML section. I have tried the following code but it didn't work. Any idea what is wrong? Or what is the proper way of doing so? Noting that "User" is the Activity parameter.
var UserName = 'Test';
var oSafeURL = new SafeURL();
oSafeURL.put("User", UserName );
***Updated by moderator: Lochan to add Categories***
I also would like to ask why you're trying to do this from an HTML section? If you do this directly from the UI by creating an action in a UI action list associated with a button/link/....., you can just select the choice to run an activity.
I am trying to edit the web-login Section which is an HTML section. I want to call an activity with parameters the link above is for calling an activity with no parameters. Please can you provide me with the syntax to call an activity with parameters from HTML section.