Difference between revisions of "Custom Objects"
From AgileApps Support Wiki
imported>Aeric |
imported>Aeric |
||
Line 45: | Line 45: | ||
<span id="workflow_state"></span> | <span id="workflow_state"></span> | ||
|- | |- | ||
|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.) | |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 | |workflow_state_change_date||String|| Date of last change in the Workflow State | ||
|} | |} |
Revision as of 21:55, 15 June 2011
A Custom Object is an object that has been created by a user or an application.
- Compare to System Object
Find the Object Type
To find an object type identifier:
- Click > Customization > Objects
- In the Display Title column, find the object you're looking for.
- The Object Name column has the identifier you need.
Alternatively:
- Go to > Customization > Objects > {object}
- Click Properties
- The object name appears at the top of the page
Note:
- For objects that are not listed, see the System Objects page.
- The Object Name is typically used as the identifier, because it is human-readable for both System Objects and Custom Objects. Object ID can be used, as well, but it is human-readable only for System 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 System 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