web
You’re offline. This is a read only version of the page.
close
Skip to main content
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. 

I have the same question (0)
  • Suggested answer
    Nya Profile Picture
    29,060 on at
    RE: Locking data-container messes up content...

    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
    RE: Locking data-container messes up content...

    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

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

#2
#ManoVerse Profile Picture

#ManoVerse 110

#3
Gerardo Rentería García Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans