Trying to add a field with a list of Saved Searches. I think the source string is wrong, does anyone know what it should be?
form.addField({
id: 'custfield_sftp_saved_search',
type: ui.FieldType.SELECT,
label: 'Saved Search',
source: 'savedsearch'
});