tuli
02/09/2021, 11:58 AMtuli
02/09/2021, 12:00 PMtuli
02/09/2021, 12:01 PMSciuridae54696d
02/09/2021, 3:27 PMvar triggerThisUrl = url.resolveScript({scriptId:'customscript_sl',deploymentId:'customdeploy_sl'})+'&myParams='+myParams;
context.form.addButton({id:'custpage_button',label:"Click Me",functionName:"window.open('" + triggerThisUrl + "')"});
Then with this, you don't even need this handler CS scripttuli
02/09/2021, 3:29 PMSciuridae54696d
02/09/2021, 3:35 PMSciuridae54696d
02/09/2021, 3:37 PMSandii
02/09/2021, 4:23 PMrecord
meansSandii
02/09/2021, 4:24 PMtuli
02/09/2021, 4:26 PMtuli
02/09/2021, 4:26 PMSandii
02/09/2021, 4:27 PMurl.resolveScript()
and pass that param to the client rather than doing this in the client (since url.resolveScript is not usable client side)tuli
02/09/2021, 4:29 PMtuli
02/09/2021, 4:29 PMmichoel
02/09/2021, 10:26 PMmichoel
02/09/2021, 10:26 PMSandii
02/09/2021, 10:38 PMmichoel
02/09/2021, 11:07 PM