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

Notifications

Announcements

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

News and Announcements

Season of Giving Solutions is Here!

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
Pallavi Phade Profile Picture

Pallavi Phade 98

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 81 Super User 2025 Season 2

#3
TAHER Mehdi Profile Picture

TAHER Mehdi 58

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans