Azi
12/13/2017, 9:26 PMform.addButton({
id: id
label: label,
functionName: myCustomFunction
})
form.clientScriptModulePath = "../ClientScripts/......"
And my clientscript has
myCustomFunction(x){
console.log(x)
}
Can I pass it x from the suitelet?