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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 171 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 83

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans