Mike Robbins
10/31/2025, 2:14 PMbeforeLoad for a user event script, but doesn't work in a Suitelet? In the Suitelet window appears to be undefined.
form.addButton({
id: 'custpage_cancel',
label: 'Cancel',
functionName: "window.open('" + revenueArrangementUrl + "','_self' );"
});battk
10/31/2025, 9:37 PMMike Robbins
10/31/2025, 9:50 PMwindow.open works as expected. Moved the redirect logic into the client script in this case. Thanks, @battk!!!