Skip to main content

Notifications

Announcements

No record found.

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

Email designer features template properties

Posted on by 65 User Group Leader

Hello,

I've been designing in different templates to explore the properties in the designer that seem to be different per template provided from MS. 
To try to get similar features in my templates, I've been modifying the HTML, to no luck. Any suggestions?

My first priority is getting background colour. 

pastedimage1584099294134v3.pngimage2.png

  • ffaller Profile Picture
    ffaller 65 User Group Leader on at
    RE: Email designer features template properties

    Thanks, I was just missing a semicolon in my CSS... :)

    Easier to see after asking for help than before!

  • cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Email designer features template properties

    Hi,

    Because even if you had added attribute tag, you need aslo assign the attribute to corresponding element.

    In you screenshot, you might had added "<meta datatype="color" label="Outer Background" name="outer-background" type="xrm/designer/setting" value="#7fb239">" in your html code,

    then you should insert a css rule in style tag:(outer background is body element background-color)

    Then it'll always reflect in template visually.

    (Even if the color hex code is static here, but once we have added them, it'll change dynamically based on color picker in properties.)

    Regards,

    Clofly

  • ffaller Profile Picture
    ffaller 65 User Group Leader on at
    RE: Email designer features template properties

    test.png
    I have been modifying the html before creating this post, but it did not reflect in the properties.
    But after some saves and hard refresh I did get it reflected in the properties pane, but it had no impact on my template visually. 


    Any other suggestions?

  • Verified answer
    cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Email designer features template properties

    Hi ffaller,

    You should add custom attribute tags in your marketing email HTML source code to support more properties.

    (Some default templates have added these attributes so more properties are visible.)

    https://docs.microsoft.com/en-us/dynamics365/marketing/custom-template-attributes

    E.g 1: To make hero image properties appear, please add following code to the source code:

    
        
        
    
    
        
    

    E.g 2: Add inner and outer background:

    
    
    
    
    

    Regards,

    Clofly

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