Referencing properties
Provide the data necessary to process your cases by referencing information in the form of properties. When you refer to a property, your application calls a specific piece of information, such as a customer phone number or an address.
- To refer to a property, prefix the property name with a period.
For example: To reference an order date, enter .OrderDate. - To refer to a Single Value property, enter the property name.
For example: To reference a shipping date, enter .ShippingDate. - To refer to an entry in a Value Group property, enter the Value Group name, and
then the property name in parentheses.
For example: To reference a mobile phone number from a Value Group property of phone numbers, enter .Phone(Mobile). - To refer to an entry in a Value List property, enter the Value List name, and
then the index number of the entry in the list.
For example: To reference the first entry in a list of discount codes, enter .DiscountCode(1). - To refer to a Page property, enter the Page property name.
For example: To reference a page with customer contact details, enter .ContactDetails. - To refer to an entry in a Page Group property, enter the Page Group name, and
then the entry in parentheses.
For example: To reference a work address in a page group of addresses, enter .Address(Work). - To refer to a page in a Page List property, enter the Page List name, and then
the page number in parentheses.
For example: To reference the third page in the page list that contains ordered items, enter .OrderedItems(3). - To refer to a specific property on a page, enter the page name as a prefix for
the property name.
For example: To reference a city in the work address, enter .Address(Work).City.
Apply the same guidelines when you reference Page properties.
- Naming conventions for properties
Creating descriptive and logical names for your properties can help you convey essential information just by looking at the name. As a result, you speed up development of your application, promote reuse across your application, and avoid duplicating properties that already exist in your system.
- Configuring page, page group, and page list properties
To provide complete data for your cases, define properties that store related information in a form of a page, page group, or page list. By providing properties of a page type, you organize data in your application in a logical way, and as a result, improve application development and speed up case resolution.
Previous topic Omitting history snapshots for data types Next topic Naming conventions for properties