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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
HTML and javascript integration
Hi,
Trying to learn the order of things in NetSuite scripting.
Outside NetSuite I can just create an html file that calls various javascripts functions either from within the html file or external js files.
In NetSuite: (please help me understand the standard process)
- you create a portlet (in my case)
- you can use nlapiResolveURL() to take you to another .js Suitelet
- where does the html fits in - if in the previous step you have to call a specific function? Does it have to be integrated in the js function like this:
function demoList(request, response) { var HTML = "<html><head></head><body>"; HTML = HTML + "<table><tr><td align='right'>......"; response.write(HTML); } 0