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
Post a Comment