Skip to main content

Notifications

Announcements

No record found.

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

Content block which changes its content automatically in every mail used

Posted on by 33

Hi all,

now at the end of the year we need to change the copyright of all our marketing emails. Right now at the bottom of every marketing email we have the text "(c) 2021 COMPANY Name". I want to avoid to change the copyright in all e-mails every year, so I thought about creating a content block which I could add into every marketing e-mail and when I change e.g. the year in the content block globally, every mail where the content block is implemented is updatet automatically.

But according to https://docs.microsoft.com/en-us/dynamics365/marketing/content-blocks this approach doesn't work. Has anyone an idea how I can fix this problem? It will take me a lot of time to change the copyright in every marketing email every year..

Thanks!

  • Nya Profile Picture
    Nya 29,056 on at
    RE: Content block which changes its content automatically in every mail used

    Hi,

    If the issue has been solved, it would be appreciated if you could click "Yes" to verify my answer.

    Image

    If there is any further doubt, please do not hesitate to let me know.

  • Verified answer
    Nya Profile Picture
    Nya 29,056 on at
    RE: Content block which changes its content automatically in every mail used

    Hi Tanja,

    Please follow the next steps:

    1. Create a new entity. e.g. Copyright.

    pastedimage1639989147062v2.png

    2. Create a field in it.

    pastedimage1639989315780v3.png

    3. Add the field into a form of the entity in order to edit it.

    pastedimage1639989382638v4.png

    4. Remember to tick the "Change Tracking" option for the entity.

    pastedimage1639989848499v7.png

    5. Add the entity into the Marketing app with App Designer and publish the app.

    pastedimage1639989517081v5.png

    pastedimage1639989594126v6.png

    6. Navigate to Settings >  Data Management > Dataset Configuration and tick the entity. Then Publish Changes.

    pastedimage1639989924762v8.png

    7. Create a new record which contains the year you need. Here, of course, you can use the JavaScript to get the current year instead of filling it manually.

    pastedimage1639990013953v9.png

    8. Create a marketing email and add a text element. 

    pastedimage1639990151256v10.png

    9. Click the Personalization and add the static content.

    pastedimage1639990204114v11.png

    10. Edit the format of the text field as you need.

    pastedimage1639990391505v12.png

    11. After you change the value of the record, the content in the email will change automatically.

    pastedimage1639990496389v13.png

    pastedimage1639990527407v14.png

  • RE: Content block which changes its content automatically in every mail used

    Hi Nya,

    thanks for your quick answer!

    Do you know how I could create the entity as you suggested?

    Thanks and kind regards

    Tanja

  • Suggested answer
    Nya Profile Picture
    Nya 29,056 on at
    RE: Content block which changes its content automatically in every mail used

    Hi Tanja,

    No, it is not possible.

    Since once the content block is inserted into the email, their HTML will be fused together.

    The content block will not automatically update unless you remove it from the Email and re-add it after modifying it.

    You can consider to create a new entity and make one of the field to record the current year.

    So that you can use the static content in Marketing Email to show the value of the field.

  • RE: Content block which changes its content automatically in every mail used

    Hi,

    my aim is, that every time I modify the content block it is also updated in the marketing mails which use this content blocl. Is this possible?

    Thanks and kind regards

    Tanja

  • Suggested answer
    Nya Profile Picture
    Nya 29,056 on at
    RE: Content block which changes its content automatically in every mail used

    Hi,

    If the marketing emails are created after the content block is modified, the copyright can be shown as modified.

    So I'm not sure what effect you mean by doesn't work that cannot be achieved.

    If you'd like to change it automatically (without modifying the content block), it cannot be done.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans