You can display additional contact information on demand both in a table and in the object page section. It is displayed in a popover called Contact Quick View.

You can display email, fax, address, or telephone number in a contact quick view.
Objective
You can display additional contact information on demand both in a table and in the object page section. It is displayed in a popover called Contact Quick View.
You can display email, fax, address, or telephone number in a contact quick view.
A contact quick view is a popover providing a quick way to check the contact's address and phone number.
You have completed the exercise Add a Bullet Micro Chart to the Table Column in the unit Configuring the Content of Table Columns (lesson: Configuring Micro Charts to Visualize Key Figures). Alternatively, you can check out its solution branch: solution/add-bullet-micro-chart-to-table.
In this exercise, you will first add a Contact Name column to the Travels table. Then, you will add the details for the Contact Quick View. Finally, you will check the results.
This exercise contains a simulation displaying all the steps. You can follow the simulation with your own trial account.
Use the application modeler to add a new contact column to the Travels table.
Select webapp > Show Page Map and click the pencil icon on List Report.
Expand Columns and select the plus icon to add a new column. Choose Add Contact Column and to_Agency/Name as the column name.
Select the Add.
You have added the Contact Name column. You can edit its settings on the right side of the screen.
Switch to the app window to check the new column with the quick contact view.
Select Show More per Row if necessary.
The contact quick view opens. You can see detailed contact information such as Phone and Address.
You can also see the annotations which have been generated by the application modeler.
The information for the popover is defined in the @Communication.Contact annotation.
1234567891011121314151617annotate TravelService.TravelAgency with @(Communication.Contact #contact: {
$Type: 'Communication.ContactType',
fn : Name,
tel : [{
$Type: 'Communication.PhoneNumberType',
type : #work,
uri : PhoneNumber,
}, ],
adr : [{
$Type : 'Communication.AddressType',
type : #work,
street : Street,
locality: City,
code : PostalCode,
country : CountryCode_code,
}, ],
});
This annotation is added to the @UI.LineItem annotation of the travel entity.
12345{
$Type : 'UI.DataFieldForAnnotation',
Target: 'to_Agency/@Communication.Contact#contact',
Label : 'Agency',
}
In this lesson, you have learned how to add additional contact information for a table field. The added information will be displayed on demand as a popover.
Note
Log in to track your progress & complete quizzes