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.
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