/

Show Related Tasks, Phone Calls, and Appointments for a Contact: Series 7

Power Platform environment setup screenshot

A contact profile becomes more useful when sellers can review recent interactions. This part creates a simple activity list for tasks, phone calls, and appointments related to a Contact.

1. Understand the activity model

Dataverse uses an activity model with common activity concepts and activity-specific tables. Tasks, Phone Calls, and Appointments are distinct activity types. Their regarding relationship can point to different record types, so do not assume every activity is related to a Contact.

2. Add the activity data sources

Add the activity tables your app needs, such as Tasks, Phone Calls, and Appointments. Create separate galleries initially; this keeps each table’s typed columns and status choices clear.

3. Filter tasks for the selected contact

Filter(
    Tasks,
    Regarding = varSelectedContact
)

This is a conceptual lookup comparison. The actual Regarding field is polymorphic and may be surfaced under a generated display name. Confirm the correct relationship and record type in IntelliSense. Apply equivalent logic to Phone Calls and Appointments only after checking their schemas.

4. Display useful activity fields

  • Subject and activity type
  • Scheduled start and due date
  • Status and owner
  • Short description or notes where permitted

5. Consider the standard timeline

If the requirement is a complete CRM activity timeline with email and other activity types, evaluate the standard Dynamics 365 timeline control. Rebuilding every timeline capability in a canvas app can create unnecessary complexity and may omit activity types or security behavior.