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,...
Answered

Marketing EMail: Dynamic Content

(0) ShareShare
ReportReport
Posted on by 67

Hi Everybody

I'm trying to send dynamic Content to customers in an EMail. As documented https://docs.microsoft.com/en-us/dynamics365/marketing/dynamic-email-content#advanced-dynamic-content it should be possible to access informations stored on other entities linked to contact entity. 

We use Dynamics CRM and as stated in the above example we have the entity contact and linked to it the entity salesorder in a 1:n relationship. I now want to send to the customer some informations that are stored in the salesorder as soon as he signed the contract and the contract has a certain pricelist XY and close-date. 

What I've made so far: I created a Marketing-EMail with the following content:

....
<!-- {{#each contact.contactorders_salesorder_contact}} -->
<li>{{this.name}}</li>
<!-- {{/each}} -->
...
When I test the eMail I get an error saying: The dynamic content has an invalid realtionship or property: {{this.name}} 
Any hint how to solve this?
Kind regards
Frieso

I have the same question (0)
  • Suggested answer
    Camilla Larsson Profile Picture
    235 on at

    Hi,

    try to add your prefix into the "this setting"

    Ex.

    {{this.new_soknadsid}}

    Kind Regards

    Camilla

  • Eduard Brown Profile Picture
    Microsoft Employee on at

    Hi Oseirf - Did Camilla's suggestion work for you?

    -Eddy

  • Oseirf Profile Picture
    67 on at

    Hello Camilla Larsson

    what do you mean with "your setting". Where can I set this?

    Kind Regards

    Frieso

  • Verified answer
    Camilla Larsson Profile Picture
    235 on at

    I mean. If you use your prefix in your setting

    <!-- {{#each contact.contactorders_salesorder_contact}} -->

    <li>{{this.name}}</li> (add your prefix before name)  ex. this.prefix.name

    <!-- {{/each}} -->

    KR

    camilla

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 151 Super User 2026 Season 1

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 51 Most Valuable Professional

#3
NeerajPawar Profile Picture

NeerajPawar 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans