netsuite - Action on form.addButton in suitelet 2.0 -


i trying add custom button in suitelet 2.0 , want action performed on click of button.

i tried doing same this

form.addbutton({                 id : 'reset',                 label : 'reset',                 functionname: 'setbutton'                 }); 

but doesn't action.

you need include function in clientscript file , attach clientscript form with:

form.clientscriptfileid = 32;


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -