Boris Yasen
02/01/2023, 8:03 PMvar suiteletButton = form.addButton({
id: 'custpage_suitelet_button',
label: 'Open Suitelet',
functionName: 'window.open(' + suiteletURL + ')'
});
And I defined suiteletURL above this code.
let suiteletURL = url.resolveScript({
scriptId: 'customscript_script_id',
deploymentId: 'customdeploy_script_id',
params: {
},
returnExternalUrl: false
});
I can see the button but clicking that button nothing happens. How can I make that button work?Watz
02/01/2023, 9:27 PMbattk
02/01/2023, 10:04 PMbattk
02/01/2023, 10:05 PMWatz
02/01/2023, 10:38 PM”function(){ window.open()}”