Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

email templates - if else condition on showing/hiding contents

IAM_99
Regular Contributor II
Regular Contributor II

Hi Team,

We want to show some content based on conditional check in email template, found this on FD

<% if (changedBy.username==user.username)print ""
else print "New password is - ${password}"%>

1. How to show/hide a Row (  <TR>) like above ?

2. <% if (changedBy.username==user.username)print ""
else print "New password is - ${password}"%>  

How to format text like above bold ?

 

2 REPLIES 2

rushikeshvartak
All-Star
All-Star

You can use html tags in email template make html is marked true while creating email template

 

 <% if (changedBy.username==user.username)print ""
else print "<b>New password</b> is - ${password}"%>  


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

IAM_99
Regular Contributor II
Regular Contributor II

Thank you