<@U37NQCPM0> 1) have your define function return a...
# suitescript
j
@dcrsmith 1) have your define function return an object that has a property that is a reference to the function 2) when you do
form.addButton
, set the
functionName
parameter to the property name in the object from step 1 3) Also do
form.clientScriptModulePath = your script file
(even if it's already deployed to the record)