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.
Invoke Suitelets from buttons
Some examples of how to invoke a Suitelet from custom buttons in various contexts:
Client Side button (edit mode) - Opens the Suitelet in a new window:
function suiteletButton(type, name)
{
var param1 = nlapiGetFieldValue('field1');
var param2 = nlapiGetFieldValue('field2');
window.open("/app/site/hosting/scriptlet.nl?script=XXXXXXX&deploy=XXXXXX¶m1="+param1+"¶m2="+param2, "newwin", "dependent = yes, height=850, width=1000, top=100, left=200, toolbar=no, scrollbars=yes, menubar=no, status=no, titlebar=no, resizable=yes, location=no");
}
Server Side button (view mode) - Redirects the user to the Suitelet
function suiteletButton(type,form)
{
if ( type == 'view' )
{
var param1 = nlapiGetFieldValue('field1');