Possible to add a sublist button to call the doSom...
# suitescript
s
Possible to add a sublist button to call the doSomething function within the same script?
Generally, youd want to define "doSomething" in a client script, and "attach" that client script to your user event script via
Copy code
form.clientScriptFileId = [idOfYourClientScriptGoesHere]
s
Okay, that makes sense. I will only need the client script to call workflow.initiate
Thought I could cut a corner
a
@Suite Deal Also it doesn't have to be a deployed client script. Just has to be in the file cabinet
s
Sounds good!