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.
Getting dynamic info to the inline HTML Portlet
Hi!
I tried to build HTML Portlet, where is little bit layout, different colours, fontsizes etc. It works nicely. Thanks for .css support. But now I wonder is it possible to get values dynamically from NS suite. Then I could show dynamic information with these nice HTML portlets. Thanks for any information (information from HTML type portlet's limits is also welcome).
Simple HTML Portlet is like this (sample from help file)
/** *@NApiVersion 2.x *@NScriptType Portlet */ define([],
[COLOR=#000080]function() [/COLOR]{
[COLOR=#000080]function render(params) [/COLOR]{
params.portlet.title = 'My Portlet';
var content = '<td><span><b>Hello!!!</b></span></td>'
0