Hello. I'm trying to add a Multiple Select field f...
# suitescript
b
Hello. I'm trying to add a Multiple Select field for Item Class in Suitelet but it does not working. Could someone tell me what is the source please?
Copy code
var itemClass = form.addField({
                    id: 'custpage_item_class',
                    label: 'Item Class',
                    type: serverWidget.FieldType.MULTISELECT,
                    source: 'class'
                });
I tried this but it shows empty. I changed class to department and it works but not the class
that should be your “source”
b
Thank you @ec That works
👍 1