Is it possible to pass in a parameter to a custom ...
# suitescript
a
Is it possible to pass in a parameter to a custom function in a suitelet? I reference the function using
Copy code
form.addButton({
		id:  id
		label:  label,
		functionName:  myCustomFunction 
})     
form.clientScriptModulePath = "../ClientScripts/......"
And my clientscript has
Copy code
myCustomFunction(x){
console.log(x)
}
Can I pass it x from the suitelet?