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!
Inline HTML Custom Portlet not showing up in custom portlet
I am trying to learn how to create an inline HTML custom portlet script. I added this code to a script but it does not show up in the custom portlet settings dropdown menu as a choice. Does anyone know what I am doing wrong? Thank you.
Here is the script record:
I got the following code from the sample scripts in the help pages.
/** * @NApiVersion 2.x * @NScriptType Portlet */// This sample creates a portlet that displays simple HTML
define([], function (){
function render(params) {
params.portlet.title = 'My Portlet';
var content = '<td><span><b>Hello!!!</b></span></td>';
params