Controlling Data View Layout
When mapping fields, the order in which they were mapped and the sections that fields are organized within will affect how data looks in the client application.
The layout is controlled using two elements:
- Sort order and sections: The data is split into different sections, which affects where it is placed:
- The first group of data is referred to as the 'Business card' section. This section usually contains information such as account name, account type and address. The first field is displayed in a large font on the top row. The additional information is displayed in a smaller font under it in successive rows. Any links in this section are non-clickable.
- The second group will usually contain telephone, fax numbers, email addresses and web pages. The items in the second group are displayed in a standard table layout, but are always displayed in the client application. The benefit of having these fields in the second section and not the first is that here links are clickable. For example: tapping on the phone number will start a call (if on a Phone Device). Tapping a URL will open the Web Page.
- Subsequent groups are also displayed in a table, but may be hidden from view in the client display until the Details button is pressed. Available display space is dependent on remaining space after Business Card and Context Settings fields. NOTE: If there is no data to display in a group, subsequent groups are moved up.
- View Group Delimiter attribute: This is set when mapping fields and controls how the next line of data is to be displayed. There are three options available:
= display the next field on a new line. This tells the mobile application to display the next field on a new line.
- * = display the next field on the same line, with a space between fields. This is typically used for contacts, where there are two separate fields for first name and last name. Selecting the * symbol in the view group delimiter option for first name, would display the last name next to it, as if they were contained within a single field.
- , = display the next field on the same line, with a comma between fields. For example, you might want contacts to be Lastname, Firstname.
- To set the view group delimiter you will need to change that option by editing the related fields in each applicable field in the module.