Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

Extended content settings - Dynamic content contains an invalid relationship or property

(0) ShareShare
ReportReport
Posted on by 10

Hello,

we have extended the ContentSettings entity to add further dynamic information to our marketing emails (outbound marketing). I can select the newly added properties in the personalization wizzard and add the "reference code" to the marketing email.

e.g.

{{msdyncrm_contentsettings.new_nameevent}} (new_nameevent is a simple text field on the msdyncrm_contentsettings entity.)

But when we try to go live with it or check for errors, we get errors saying:

Dynamic content contains an invalid relationship or property: {{msdyncrm_contentsettings.new_nameevent}}.

If we add the same property as static reference, it works.

e.g.

{{msdyncrm_contentsettings(9615778f-0a9e-ec11-b400-000d3ade57d9).new_nameevent}}

Any hints?

Regards,

Marc

  • Marc Becker Profile Picture
    Marc Becker 10 on at
    RE: Extended content settings - Dynamic content contains an invalid relationship or property

    Hi Nya,

    thank you for clearing that out.

    We will create a plugin to sync event data to content setting text fields then.

    Thank You

    Marc

  • Verified answer
    Nya Profile Picture
    Nya 29,058 on at
    RE: Extended content settings - Dynamic content contains an invalid relationship or property

    Hi Marc,

    It is by design.

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

    pastedimage1651822619276v1.png

  • Marc Becker Profile Picture
    Marc Becker 10 on at
    RE: Extended content settings - Dynamic content contains an invalid relationship or property

    Hi Nya,

    thank you!

    I got the text field working. I changed nothing regarding configuration, but it seems like I have messed up my test case with other values which were empty and that caused the issue Slight smile
    I am a step further now. My first approach was to extended the content settings with a relation to the Event entity. Cause we would like to have dynamic emails for our events we could reuse in most of our event series.

    I can't get this to work. Same error message. (I've double checked not having other fields in my testcase :))

    Settings:

    pastedimage1651820622667v1.png

    Textfield works:

    {{msdyncrm_contentsettings.new_nameevent}}

    Textfield by relation doesn't work:

    {{msdyncrm_contentsettings.msdyncrm_contentsettings_msevtmgt_event_new_event.msevtmgt_name}}

    pastedimage1651820738189v2.png

    Any ideas?

    Regards

    Marc

  • Verified answer
    Nya Profile Picture
    Nya 29,058 on at
    RE: Extended content settings - Dynamic content contains an invalid relationship or property

    Hi Marc,

    I have tried to reproduce your issue but failed.

    It can go live normally.

    pastedimage1651817382709v1.png

    And the field can be shown in preview.

    pastedimage1651817559177v2.png

    Please check if the field has been inserted into the main form of Content Settings and has a value.

    Also make sure that the content settings record is live.

    pastedimage1651817659060v3.png

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans