b
message has been deleted
n
Why not add it using a user event (beforeLoad)?
Copy code
var itemSL = form.getSublist({id:'item'});

itemSL.addButton({
    id: 'custpage_create_item',
    label: 'Search For Item',
    functionName: 'createItem',
});
b
OK @NElliott so you have done this before? I was hoping it could be added like you're example.
n
Yup that is actual code I wrote only about 2 weeks ago
were form is scriptContext.form
b
OK thanks @NElliott works like a charm! I was initially afraid adding a button in that area wasn't natively supported.
👍 1