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
Calling external PHP script with nlapiOutboundSSO, POST instead of GET?
I have a Suitelet form in our Customer Center which has been working great for quite some time. Our customers log in, see a form pre-filled with recommended defaults based on their customer data, and after submit the form shows a message and URL based on the POSTed data.
The URL uses an outbound SSO to a PHP script, which parses parameters and creates a one-time downloadable file. (This code can't be ported to Suitescript.)
The problem: the URL parameters can exceed 2,048 characters, which breaks some browsers.
Typically this means a form POST with hidden variables would be needed, but I can't get the Suitelet form to post to my PHP script; it only posts back to itself.
0