RE: How to add saved search result to select field in suitelet as options?

I have created suitelet to add select type field. I have created field, but now I want to add search result as options to the select field. How its can be done? Please Help!

 

  var filtersFieldGroup = form.addFieldGroup({
            id : ‘custpage_filter’,
            label : ‘Select Filters….’
        });
        var subsidiaryField=form.addField({
            id: ‘custpage_subsidiary’,
            type: serverWidget.FieldType.SELECT,
            label: ‘subsidiary’,
            container: ‘custpage_filter’
        });
Maira S Beginner Asked on February 22, 2023 in SuiteScript.
Add Comment
3 Answers

Here’s an article I wrote that shows the full code. Hope it helps:

Beginner Answered on February 22, 2023.
Add Comment

Your Answer

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