I have a button on a custom record form added by a...
# suitescript
b
I have a button on a custom record form added by a UE in all execution types. What's the best way to call a client side function when pressing the button? I created a client script and set it up to apply to the custom record, but it doesn't load in view mode. I can use
form.clientScriptFileId
or
form.clientScriptModulePath
, but those values would change if I bundle up the script and install it in a different account.