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

Locking data-container messes up content...

(0) ShareShare
ReportReport
Posted on by 10

Working with templates for email marketing I tried to lock parts of the template using <div data-container="true" data-locked="hard"> by entering the data-locked="hard" part in the html code. But strange things started to happen in the content and finally the content of that container disappeared. 

  • Suggested answer
    Nya Profile Picture
    29,064 on at

    Hi,

    I have tried to reproduce your issue but failed.

    pastedimage1636700343663v1.png

    The container can be shown normally.

    pastedimage1636700365300v2.png

    Here is the version of my Marketing app.

    pastedimage1636700447462v3.png

    Please check if there is an update or share your code snippet with me.

  • PerHj Profile Picture
    10 on at

    Thanks. I create a new email template and add some content and at first everything looked fine. But after working for a while the content with data-locked="hard" disappeared on several different places. In this case I changed background color on the section surrounding the locked content and then it just disappeared - se code below.

    msedge_5F00_IMmO5FDCZc.png

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Syed Aqib Raza Profile Picture

Syed Aqib Raza 139

#2
11manish Profile Picture

11manish 105 Super User 2026 Season 2

#3
ParthPatel249 Profile Picture

ParthPatel249 77

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans