web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Using personalised content with multiple bookings under one contact

(0) ShareShare
ReportReport
Posted on by

I am attempting to use personalised content within our email templates, the personalised content needs to pull through information from a contacts booking information. However, due to contacts having multiple bookings, I receive this message. The emails are triggered dates and changed associated with the booking, not contact information or changes.

pastedimage1642515540349v1.png

  • Suggested answer
    Nya Profile Picture
    29,064 on at

    Hi,

    As there is an N:1 relationship between the booking entity and contact entity, it is not possible to determine which record to display by using dynamic content alone.

    As mentioned in the prompt in your screenshot, you need to use the #each statement to list all the booking records belonging to a contact.

    Please refer to the following section to add a code block into the email.

    Add dynamic content to email messages (Dynamics 365 Marketing) | Microsoft Docs

    Since this entity should be your custom one, I use the Lead entity as an example.

     Image

    The code is something like:

    Your leads:

      {{#each contact.lead_contact_parentcontactid}}
    • name:{{this.fullname}} topic:{{this.subject}}
    • {{/each}}

    It will get a list of the leads with their names and topics which belongs to each contact.

    Image

    And you can apply the code to your entity ed_booking.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 89 Most Valuable Professional

#2
11manish Profile Picture

11manish 67 Super User 2026 Season 2

#3
Travis South Profile Picture

Travis South 39

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans