¿How to customize an email template with HTML?

Which IIQ version are you inquiring about?

Version 8.3

Share all details related to your problem, including any error messages you may have received.

Hello community experts,

I trust everyone is doing well. I’m currently exploring ways to enhance an email template by incorporating images and logos to make it more visually appealing. Has anyone successfully implemented such enhancements or does anyone have insights on how to achieve this?

Thank you in advance for your assistance.

Hi @juanmene18,

You need to add an HTML tag to insert the logo:


<EmailTemplate name="EmailTemplate-MyTemplate">

     <Body>

          <![CDATA[

          <html>

               <body>

                    <img src="https://pmaccess.rdddawul.com.sa/identityiq/ui/images/TopLogo1.png" width="131" height="131" />

               </body>

          </html>

          ]]>

     </Body>

</EmailTemplate>

Also please refer the below white paper and one more chat in community website.

https://community.sailpoint.com/t5/Technical-White-Papers/Email-Template-Usage-and-Customization/ta-p/78164

https://community.sailpoint.com/t5/IdentityIQ-Forum/How-to-add-image-logo-in-email-templates/m-p/228862#M174776

as Vinod M mentioned to use the html tags to customize the html type email templates. You can also think to standardize it in terms of header and footer … in my experience header and footer keeps changing so every time it changes you need to touch all of the email templates so to avoid this you can create rule for header and footer and in each email template you can execute the header and footer rules and then refer the rule out put as header and footer in your email template body.
something similar to what’s given below

#set($ruleObj = $ctx.getObjectByName($spTools.class.forName("sailpoint.object.Rule"), "Rule-Header")) 
#set($headerHtml = $ctx.runRule($ruleObj, $ruleArgs))
#if( $ruleObj )
	$ctx.decache($ruleObj)
#end

&lt;body>
#if( $headerHtml )
	$headerHtml
#end
&lt;/body>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.