RE: Cannot get my custom list to show in addField type Select

Not real sure where I am going wrong here.  I am attempting to make my custom report editable from the UI. I can get the status field to become a selection field for editing but I cannot get the custom list to populate in the dropdown.

Couple of notes:

  • Sublist Type is set to LIST
  • I have tried using the internal ID and the ID in the source option
  • I get an unknown erro4r when I add a source.

 

list.addField({
          id: ‘custpage_status’,
          type: serverWidget.FieldType.SELECT,
          label: ‘status’,
           source: ‘customlist_8q_door_config_status’,
          align : serverWidget.LayoutJustification.RIGHT
 }).updateDisplayType({
          displayType : serverWidget.FieldDisplayType.ENTRY
 });

I am stuck so any assistance would be appreciated

jpfred Rookie Asked on November 2, 2022 in SuiteScript.
Add Comment
1 Answers

Hi,

I’m not sure what’s going on here but a workaround might be to search for the list values and then populate them in the script.

Thanks,

Chris

Intermediate Answered on November 18, 2022.
Add Comment

Your Answer

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