We have a deployed web site that handles our customers who search our inventory.
We have a backend server that serves up some other data that we want to integrate into the site.
[LIST=1]
[*]User visits site, goes to Page A
[*]Page A checks to see if they are logged in
[*]If not, push to a login/register page
[*]If they are, display a form
[*]If they submit the form, process it (using nlapiRequestURL), parse the JSON data, update the page (possibly dynamically)
[/LIST]
What I can't figure out is if SuiteScript can be used on the site, and if so, how to write it and deploy it.
If I deploy it, how do I integrate the form as a PART of the page, not the entire page? Basically this form will be in the middle of an existing templated page.
Currently there is an iframe with HTML served from a different server, but we want to integrate the NetSuite login/registration into this process and it seems the best way is with SuiteScript.
The Developer Guide is pretty slim on examples on how to do this, and the questions in this forum don't really yield any help that I've found either.