Difference between revisions of "Record Id"
From AgileApps Support Wiki
imported>Aeric |
imported>Aeric |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:recordID}} | {{DISPLAYTITLE:recordID}} | ||
{{:Common:About Record IDs}} | |||
''See also:'' | ''See also:'' | ||
:*[[Object Type Identifier]] | :*[[Object Type Identifier]] |
Revision as of 20:47, 12 June 2014
Common:About Record IDs See also:
Get a Record Identifier from the Platform UI
- Open the tab for the object of interest
- Click the down arrow next to the name of the current view ()
- Click [Edit]
- In the Fields tab, select the ID field in the Available Fields list, and move it to the Selected Fields list.
(Each selected field becomes a column in the resulting view.) - Save the view
Get a Record ID Programmatically
Record IDs can be obtained using:
In the REST APIs, the record ID is stored in the id field.
To get a record ID using the Java APIs: Field values are stored in the Parameters object that is delivered to code that is running in the platform.
- To get the ID of the record in that object, use the get method on that object, specifying 'id' as the name field to get.
- Considerations
-
- Record Identifier has a Range of: 1 - 2,147,483,647
- In most Objects, the record id is an integer
- Exception:In these objects, the record ID is a text string:
- Lookup fields require a string value.
- To convert a numeric Record ID to a string, use the CONCAT Formula Function:
CONCAT (id, '') where: id is a Record Identifier '' is two single quote (') characters