Edita

Comparteix a través de


Customize the booking view

By default, the booking calendar control shows a predefined set of details associated with bookings.

You can customize this control to include up to three more columns with optional labels or change the incident type column.

If you're using the mobile app offline, be sure the record types from which attributes are included on the calendar are also included in your mobile offline profile.

For a guided walkthrough using the classic designer, check out the following video.

Add the columns to the Bookings view

The new fields can be modified to show data from any column in the Booking view of the Bookable Resource Booking table.

Add columns to model-driven app views that have a relationship to the bookable resource booking table. For example, to show Work Order Priority, select the Work Order table, then add the Priority column to the view. Note the name of the column—you'll need it when customizing the field. In our example, the name is msdyn_priority.

Note

For columns from a different table, you must create a relationship between the bookable resource booking and that table. When referencing the relationship in the control, be sure to reference the full lookup field name as fieldName.Attribute.

Configure the Booking Calendar Control to show the columns

Once the view has the desired columns, open Advanced Settings and go to Customizations. Select the bookable resource booking entity, and then select Controls and Booking Calendar Control to configure the control properties.

Editing booking calendar control properties in Power Apps.

To configure fields, select the Edit icon next to the field. Input the reference to the field as an attribute of bookable resource booking, or as linkedEntity.attribute. In this example, we added the work order priority (msdyn_workorder.msdyn_priority) as Custom Field 1.

You can also configure the optional custom field label associated with the custom field. This label is displayed as entered, with an added colon after the field and before the value. In our example, we entered Priority.

Fields without data are hidden.

Field Service mobile app with a customized calendar agenda view.

Custom fields are also shown on the calendar's day view when the booking duration is long enough to support the extra text. Custom data is also shown when opening booking details from the map view.

Note

If you have configured multiple views for the mobile app, we recommend that you include the new fields into each view that can be accessed from the mobile app.