Difference between revisions of "Field Name"
From LongJump Support Wiki
imported>Aeric m (Text replace - 'Setup > Customize > ' to 'Designer > Data & Presentation > ') |
imported>Aeric m (Text replace - 'Data & Presentation > Objects' to 'Data > Objects') |
||
Line 9: | Line 9: | ||
To find the ''Field Name'': | To find the ''Field Name'': | ||
#Click '''Designer > Data | #Click '''Designer > Data > Objects > {object}''' | ||
#Click the Fields tab | #Click the Fields tab | ||
:[[File:fieldslist.gif|none|thumb|Field names in Objects]] | :[[File:fieldslist.gif|none|thumb|Field names in Objects]] |
Revision as of 00:05, 3 June 2011
Field Name is defined as the name of a field in an object, and the contents of the field is the Field Value. In a View, Field Names appear as column headings, and Field Values appear as the row content:
Field Names and Field Values are used in these areas of the platform:
- Java API, as part of function call parameters
- Value field for Record Selection Criteria
- URL in the Manage Related Information Button
To find the Field Name:
- Click Designer > Data > Objects > {object}
- Click the Fields tab
To reference the Field Value:
- Append ".value" to the Field Name fieldname, to create fieldname.value
- Example
- A typical field used in accounts and contacts is "email". When referencing the field name and the field value in Scripting, use this syntax:
- fieldname = "email"
- fieldname.value = "support@mycompany.com"
- Considerations
- When creating a field, the field name defaults to a the field label
- If spaces are part of the field name, the (_) underscore character is substituted for each space
- To use a field in a Database View, include the (#) hash character (also known as the sharp or pound sign) at the end of the fieldname (name_of_field#)