javascript - Suitelet of netsuite not running -
function demohtml(request, response) { var html = ' <html> <body> <h1>hello world</h1> </body> </html>'; response.write( html ); //prefix header custom-header. see nlobjresponse.setheader(name, value) response.setheader('custom-header-demo', 'demo'); }
after deploying script following error coming...
error
you not allowed navigate directly page
i had same problem, make sure status set "released".
Comments
Post a Comment