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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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