Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Get sublist in SuiteLet POST (suitescript 2.0)
Hi,
I have built a Suitelet in suitescript 2.0. I have added a sublist to the form, and some body fields. When submitting the form, I am able to retrieve the body field values via the parameters, but I am not able to obtain the sublist via the parameters (execution log states the sublist is undefined).
Here is an example of the code I am using:
...
//GET
var form = ui.createForm({
title: 'myForm'
});
var valueField = form.addField({
id: 'custpage_value_field',
type: ui.FieldType.CURRENCY,
label: 'Total Value'
});
var sublist = form.addSublist({
id: 'custpage_sublist',
label: 'My Sublist',
type: ui.SublistType.LIST