Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
How to add inline button
Hello all,
In SuiteScript 1.0 we were able to add buttons to NetSuite forms in inline html fields. These buttons would then usually bring up a window with some other info. So now I am trying to do the same type of thing 2.0.
I have a User Event script and the button is showing up on the form.
function beforeLoad(scriptContext) {
//Components button
var newInlineHtmlField = scriptContext.form.addField
({id: 'custpage_pe_componentsbtn_inline',
type: 'inlinehtml',
label: ' '
});
newInlineHtmlField.defaultValue = '<br/><input id="btnPEComponentsList" onclick="onclick_showComponentList();" type="button" name="btnPECompList" value=" Components " style="width:150px; height:30px; cursor: pointer; background-color:#378FFA;border:1px solid #9DBFF2; color:#FFFFFF; font-weight: bold;">';