ANS-1382 · SUITESCRIPT DEVELOPMENT

How to Embed NetSuite Suitelets in an iFrame for Seamless Integration

Ensure proper functionality and field interaction when displaying NetSuite Suitelets within an HTML iframe by appending a specific URL parameter.

Short answer

To enable proper field selection and interaction for a NetSuite Suitelet embedded within an iframe, append the parameter `ifrmcntnr=T` to the Suitelet's URL. This parameter ensures the Suitelet renders correctly within the iframe context, allowing users to interact with all fields as intended, preventing display or functionality issues.

Scenario

Users attempting to embed a NetSuite Suitelet within an HTML iframe may encounter issues where fields within the Suitelet are not selectable or the Suitelet does not render with full functionality. This often occurs when the Suitelet is displayed in an external web page or dashboard, hindering user interaction and data entry.

Solution

To resolve issues with NetSuite Suitelets not displaying correctly or having unselectable fields when embedded in an iframe, append a specific parameter to the Suitelet's URL. This parameter instructs NetSuite to render the Suitelet appropriately within an iframe container.

Add the following parameter to the Suitelet URL:

ifrmcntnr=T

For example, if the original Suitelet URL is https://.netsuite.com/app/site/hosting/scriptlet.nl?script=123&deploy=1, the modified URL would be https://.netsuite.com/app/site/hosting/scriptlet.nl?script=123&deploy=1&ifrmcntnr=T.

Consult the Oracle Help Center or SuiteAnswers for the most current documentation on embedding Suitelets and URL parameters.

Expert NetSuite Support

Need help with this NetSuite issue?

SuiteScript Development consulting and configuration support

Talk to a consultant