How can I add a button to my sublist?

I want to add a button to an inline set of edit buttons. For example, in the subpixel "Opportunity" I want to insert a button. I would prefer it to go after the Add button.

I initially tried this, but it overlaid the button on the top set of buttons above the list. I can live with this, but would prefer it in an inline buttonset.

var list = form.getSubList("item");
list.addButton('custpage_customconfigurebutton', 'Configure', 'customrecord_configurator');

      

enter image description here

+3


source to share


1 answer


The addButton method only works if you want to add a button next to adding multiple Upsell items. You cannot add a button next to add and cancel or at the line level



+1


source







All Articles