RE: How to add elements to serverWidget.createList(options)

I want source subsidiary  list to form .addfield.

var field = form.addField({ id : ‘custpage_subsidiary’, type : serverWidget.FieldType.SELECT, label : ‘subsidiary’,source:susidiarylist });

But I am not getting how to create subsidiary list in suitelet.

Could anyone help please?


Maira S Beginner Asked on February 24, 2023 in SuiteScript.
Add Comment
3 Answers


The “source” argument is used to source data from standard lists/record so you would typically do:

source: 'subsidiary'



Intermediate Answered on February 24, 2023.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.