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!
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); }