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

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 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans