@Ali ```context.form.addButton({ id: 'custpage_bu...
# suitescript
j
@Ali
Copy code
context.form.addButton({
	id: 'custpage_button_id',
	label: 'Button Text',
	functionName: 'buttonClick()'
});					

context.form.clientScriptModulePath = 'path/to/my/client/script.js';
a
@jen Many thanks can I do that with an onclick for a text too?
and do you know how can I delete a memeber from an entity group someone said by attach and detach by I don't know how?
j
You should be able to do it with onclick I think, though I haven't tried that. I'm not sure about editing members in groups via SuiteScript.