Probably a noob question but if I have a user even...
# suitescript
p
Probably a noob question but if I have a user event linking to a client script via a button do I still need to deply the client script to the transaction or is the link enough?
s
as long as you have clientScriptModulePath you dont need to deploy it
Copy code
context.form.clientScriptModulePath = './myCS.js'; //for UE
kinda equivalent for the suitelet I guess
p
thanks!
keanu thanks 1
n
My old consultancy had a good couple of posts on this methodology - https://www.techfino.com/blog/adding-a-custom-button-on-a-record-in-netsuite
Sorry, that one is the really straightforward WFA one. The second post is more relevant - https://www.techfino.com/blog/adding-a-custom-button-on-a-record-part-2-the-trident-technique