Custom Object
From LongJump Support Wiki
Revision as of 21:55, 15 June 2011 by imported>Aeric (→Predefined Fields)
A Custom Object is an object that has been created by a user or an application.
Find the Object Type
To find the object type identifier for an object:
- Click Designer > Objects > {object}
- The Object Name is displayed at the top of the page.
(To see the object ID, click the section-expansion (triangle) icon next to it. )
Note: The Object Name is typically used as the identifier, because it is human-readable for both Built-in or CRM objects and Custom Objects. Object ID can be used, as well, but it is only human-readable for Built-in or CRM objects.
View Object Attributes
You examine attributes of Custom Objects in the same way you view attributes for Custom Objects.
For example, to see the fields defined for a Custom Object:
- Designer > Data > Objects > {object} > Fields
Predefined Fields
A Custom Object can be modeled after any of the standard Built-in or CRM objects. Some fields are predefined. Those fields are:
- Created automatically when an object is created
- Populated automatically when a record is saved/updated
- Set to Read-Only by default, but can be Hidden via Field Visibility settings
These are the predefined fields:
Field Name Display Type Description object_id String ID of the object the record is in record_id * Number Unique record identifier owner_id * String Unique record owner identifier date_modified * String Date the record was last modified date_created * String Date the record was created created_id * String Unique identifier of the user who created the record modified_id * String Unique identifier of the user who last modified the record workflow_owners String Workflow Owner(s) workflow_state String Workflow State. (This field always displays the title of the workflow state, except when used in direct query against the database, in which case it displays the name of the workflow state--as, for example, when creating a report based on a Database View.) workflow_state_change_date String Date of last change in the Workflow State