Skip to main content

Notifications

Announcements

No record found.

Customer Insights - Journeys forum
Answered

Personalization

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?
 
Categories:
  • Verified answer
    Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    Personalization
    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
     

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans