CxScript Types - Object
Updated over a week ago

An object type is a so called compound type. It is a compound structure of attributes (fields). Examples of objectsare: candidate, company, contactperson, etc.

To assign an object value to the variable o:

<cx:let name="o" value="$activity.toEmployee">
 ... $o contains an employee object ...

The attributes of an Object provide a way to access information to corresponding fields in the Carerix database.
You reference attributes by means of so called key-paths, like for instance in: 

<cx:write value="$"/>

The full key-path here is
While the attribute toEmployee references a candidate objectin the database, the name attribute contains the name of the particular candidate.

Did this answer your question?