Join Slack
Powered by
In the argument functionname in form.addButton can...
# suitescript
a
Alan Fitch
05/27/2021, 3:17 PM
In the argument functionname in form.addButton can i add the function in the same suitescript file?
s
Sandii
05/27/2021, 3:18 PM
Generally the answer is no. The function of the button should be sitting on the client script the page is using.
a
Alan Fitch
05/27/2021, 3:46 PM
And I set the client script with
form.clientScriptFileid
?
b
battk
05/27/2021, 5:55 PM
I favor the clientScriptFilePath, its more portable
a
Alan Fitch
05/27/2021, 6:40 PM
Ah that makes more sense. Thanks.
2
Views
Open in Slack
Previous
Next