Class: nlobjConfiguration

nlobjConfiguration

new nlobjConfiguration() → {nlobjConfiguration}

Return a new instance of nlobjConfiguration..
Since:
  • 2009.2
Source:
Returns:
Type
nlobjConfiguration

Methods

getAllFields() → {string[]}

return an Array of all field names on the record.
Since:
  • 2009.2
Source:
Returns:
Type
string[]

getField(fldnam) → {nlobjField}

return field metadata for field.
Parameters:
Name Type Description
fldnam string field name
Since:
  • 2009.2
Source:
Returns:
Type
nlobjField

getFieldText(name) → {string}

return the text value of a field.
Parameters:
Name Type Description
name string field name
Since:
  • 2009.2
Source:
Returns:
Type
string

getFieldTexts(name) → {string[]}

return the selected text values of a multi-select field as an Array.
Parameters:
Name Type Description
name string field name
Since:
  • 2009.2
Source:
Returns:
Type
string[]

getFieldValue(name) → {string}

return the value of a field.
Parameters:
Name Type Description
name string field name
Since:
  • 2009.2
Source:
Returns:
Type
string

getFieldValues(name) → {string[]}

return the selected values of a multi-select field as an Array.
Parameters:
Name Type Description
name string field name
Since:
  • 2009.2
Source:
Returns:
Type
string[]

getType() → {string}

return the type corresponding to this setup record.
Since:
  • 2009.2
Source:
Returns:
Type
string

setFieldText(name, text) → {void}

set the value (via display value) of a field.
Parameters:
Name Type Description
name string field name
text string field display text
Since:
  • 2009.2
Source:
Returns:
Type
void

setFieldTexts(name, texts) → {void}

set the values (via display values) of a multi-select field.
Parameters:
Name Type Description
name string field name
texts string[] array of field display text values
Since:
  • 2009.2
Source:
Returns:
Type
void

setFieldValue(name, value) → {void}

set the value of a field.
Parameters:
Name Type Description
name string field name
value string field value
Since:
  • 2009.2
Source:
Returns:
Type
void

setFieldValues(name, value) → {void}

Set the values of a multi-select field.
Parameters:
Name Type Description
name string field name
value string[] field values
Since:
  • 2009.2
Source:
Returns:
Type
void