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
Response object sendredirect to a file in the cabinet?
*Edit* I decided to abandon the idea of redirecting to the file. I realized that you can only open a file record in edit mode, something that isn't exactly desirable.
However, what are my options for redirecting to a different page in netsuite after the suitelet's execution? I would like to redirect the suitelet to another URL in netsuite, particularly the file cabinet:
if( request.method == GET ) //generate the form else //dostuff redirect to https://system.netsuite.com/app/common/media/mediaitemfolders.nl?folder=
Below is the original issue, but I guess it's not relevant.
Can the response object's sendRedirect method redirect to a file in the file cabinet. I looked through the suitescript records browser and couldn't find an id for the record type of a file in the file cabinet. Is this possible?
0