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
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