web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Personalization

(1) ShareShare
ReportReport
Posted on by 4
I'm trying to make personalization look like a mail merge, where the field and line completely disappear when no data exists. Is there any way to do this?
 
For example, in word, if I had the address of Mr. Bob Smith and I didn't have the address of Mrs. Alice White it would look like this:
 
--
June 21, 20204
 
Mr. Bob Smith
123 Street
New York, NY 10065
 
Dear Mr. Smith, 
-----
June 21, 20204
 
Mrs. Alice White
 
Dear Mr. White,
------
 
But what D365 email personalization does is hold space where the field is and your only choice is to change it if it's empty or says something else:
June 21, 20204
 
Mrs. Alice White
 
           ,
 
Dear Mr. White,
 
------
 
Any ideas?
 
I have the same question (0)
  • Verified answer
    Dengliang Li Profile Picture
    Microsoft Employee on at
    Hi,
     
    I encountered the same problem as you.
     
    Below is a screenshot of my test.
    When the personalized placeholder has no value, a blank line will be left.
     
     
    The personalized placeholder appears as a P tag in HTML.
     
    Unfortunately, the HTML of the email does not support dynamically showing or hiding tags using JavaScript.
     
    Therefore, you can only set a default value to be displayed when no value is present.
     
    Best Regards,
    Dengliang Li
     

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 142 Super User 2026 Season 1

#2
Nagaraju_Matta Profile Picture

Nagaraju_Matta 128

#3
11manish Profile Picture

11manish 121

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans