Is there still no internal ID for the list of coun...
# suitescript
a
Is there still no internal ID for the list of countries in Netsuite?
s
Are you talking about setting the source of a field? Try
-159
a
That one's empty
s
works for me
Copy code
var form = serverWidget.createForm({
                title: 'Test'
            });
            form.addField({
                id: 'custpage_ctry',
                label: 'Country',
                type: serverWidget.FieldType.SELECT,
                source: '-159'
            });
            context.response.writePage(form);
message has been deleted
a
Oh it has to be a string...
Classic Netsuite
Thanks!