Field Names

From AgileApps Support Wiki
Revision as of 18:33, 23 September 2015 by imported>Aeric
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A Field Name is the name of a field defined in an object, while the contents of the field constitute 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:

To find the Field Name:

  1. Click GearIcon.png > Customization > Objects > {object}
  2. 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 JavaScript, 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#)