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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Get Sublist Data in Suitelet
Today I wanted to create first 2.0 Suitelet, but I couldn't find any simple and easy way to get sublist data from sublist which was created as a part of Suitelet form. Of course you have context.request.parameters.sublistdata where all the data are stored after page submit, but you need to manually split it. I thought that maybe I'm missing something, but actually this is the part of an example from Netsuite help:
var delimiter = /\u0001/;
var textField = context.request.parameters.textfield;
var dateField = context.request.parameters.datefield;
var currencyField = context.request.parameters.currencyfield;
var selectField = context.request.parameters.selectfield;
0