We can source the country list into a select field of a suitelet form by sourcing “-159”.
Example:
let countryField = form.addField({
id: ‘custpage_jj_country’,
label: ‘Country’,
type: serverWidget.FieldType.SELECT,
source: “-159”
});
NB: The value returned from this select option would be an integer. Convert the integer into the ISO format if the country’s code is required.