darrenhillconsulting
06/30/2020, 2:16 PMSELECT
field to a form, that lists all the Saved Searches. Anyone know the proper source
to set ?Sandii
06/30/2020, 2:17 PM-119
darrenhillconsulting
06/30/2020, 2:20 PMSandii
06/30/2020, 2:21 PMAdvanced Field Help
, when making a new field in the UI, the help displays the internal ids of all available options.darrenhillconsulting
06/30/2020, 2:23 PMSandii
06/30/2020, 2:24 PM.defaultValue= searchId
on the end of the field definition. Or use form.getField().defaultValue=
if creating the form and setting the value at different timesdarrenhillconsulting
06/30/2020, 2:26 PMSandii
06/30/2020, 2:35 PMvar tempF = form.addField({
id: 'custpage_test',
type: serverWidget.FieldType.SELECT,
label: 'Test',
source: '-119'
});
log.debug('options', tempF.getSelectOptions())
tempF.defaultValue = '-1102';
dbarnett
06/30/2020, 2:42 PMdbarnett
06/30/2020, 2:46 PMjQuery('.ns-dropdown[data-name="selectrecordtype"]').data('options')
in the console when on page for adding new custom Fields, should give you the NetSuite options