Viewing the contents of a record
About this task
If you do not want to edit the contents of a record, you can get the record and look at the values in its fields. To view a record, get the record using one of the methods of the Session object.
Procedure
To view the contents of a record by using a Session object
method, follow these steps:
- Use the
GetEntity
method to acquire the record. - Use methods of the returned Entity object to access the record's fields.
Results
To get a list of record types by name, use the following methods of the Session object.
- Names
- Session object method
- All record types
GetEntityDefNames
- Record types that have states
GetReqEntityDefNames
- Record types that are stateless
GetAuxEntityDefNames
- Record types that belong to a record type family
GetQueryEntityDefNames
- Record types you can use to create a new record
GetSubmitEntityDefNames
To get the EntityDef object associated
with a particular record type, use the GetEntityDef
method.