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.
Outbound SSO Suitelet - can we pass customer data to the IFRAME?
I have a Suitelet for our Customer Center, wrapping an externally-hosted PHP script. The entire outbound Single-Sign On works, and everything renders correctly. In the PHP code, I need to check that certain custom fields on the customer record are set and act accordingly. (The PHP script is rendering a remote server filesystem tree, hiding certain items depending on customer record fields.)
What's the best practice for passing data from a Suitelet into the IFrame where the PHP script runs?
Here are the issues I'm getting stuck on:
nlapiGetContext() doesn't provide customer information: the context contains the unique entity ID, but no other direct access to any of the current customer's record. So I have to do a nlapiLookupField() to get more customer record fields... but before that works...