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
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
Hi Marc,
It is by design.
Please refer to Add dynamic content to email messages (Dynamics 365 Marketing) | Microsoft Docs.
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:
Textfield works:
{{msdyncrm_contentsettings.new_nameevent}}
Textfield by relation doesn't work:
{{msdyncrm_contentsettings.msdyncrm_contentsettings_msevtmgt_event_new_event.msevtmgt_name}}
Any ideas?
Regards
Marc
Hi Marc,
I have tried to reproduce your issue but failed.
It can go live normally.
And the field can be shown in preview.
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.
André Arnaud de Cal...
291,979
Super User 2025 Season 1
Martin Dráb
230,848
Most Valuable Professional
nmaenpaa
101,156