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

I have the same question (0)
  • Suggested answer
    Nya Profile Picture
    29,060 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 209 Super User 2026 Season 1

#2
CU11031447-0 Profile Picture

CU11031447-0 100

#3
NeerajPawar Profile Picture

NeerajPawar 71

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans