Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
cc
I am trying to write my first Portlet by embedding a youtube video. I am getting this error message on the Portlet:
A User Error Has Occurred {"type":"error.SuiteScriptModuleLoaderError","name":"MODULE_DOES_NOT_EXIST","message":"Module does not exist: /SuiteApps/YoutubePortletExample.js","stack":[]}My portlet is pretty simple:
/** * @NApiVersion 2.x * @NScriptType Portlet */ /* * Adapted from Online Help article. * */ define( [], function() { function _render(params) { params.portlet.title = 'SuiteScript 2.0 video'; var content = '<iframe width="560" height="315" src="https://www.youtube.com/embed/I-7HzlhyXNI" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>' params.portlet.html = content; } return { render : _render }; });
0