Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Alma

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Alma
    3. Community Knowledge
    4. How to Modify the MailReason.xsl to Display Different Greetings for Different User Groups

    How to Modify the MailReason.xsl to Display Different Greetings for Different User Groups

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Question
    2. Additional Information
    Created By: Sandra Morgan
    Created on: 1/31/2019



    Question

    How to configure the Greetings in some Alma letters based on Patron User Groups.

     

    Answer

    You will need to modify the MailReason.xsl letter.

    1. Go to Alma Configuration > General > General Configuration > Customize Letters
    2. Find the MailReason.xsl
    3. Customize (or edit) the letter and save

     

    Example of MailReason.xsl with modified greetings:

     

    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

                    version="1.0">

                <xsl:template name="toWhomIsConcerned">

                            <table cellspacing="0"

                                   cellpadding="5"

                                   border="0">

                            <tr>

                                        <td>

                                                    <xsl:for-each select="notification_data">

                                                                <xsl:if test="receivers/receiver/user/user_group = 'STU'">

                                                                            <h3>

                                                                            <h3>Dear Student Dr.&#160;<xsl:value-of select="receivers/receiver/user/last_name"/>

                                                                            </h3>   </h3>

                                                                </xsl:if>

                                                                                        

                                                                <xsl:if test="receivers/receiver/user/user_group = 'RES'">

                                                                            <h3>

                                                                            <h3>Dear Dr. <xsl:value-of select="receivers/receiver/user/last_name"/>

                                                                            </h3>   </h3>

                                                                </xsl:if>

     

                                                                <xsl:if test="receivers/receiver/user/user_group = 'FAC'">

                                                                            <h3>

                                                                            <h3>Dear Dr. <xsl:value-of select="receivers/receiver/user/last_name"/>

                                                                            </h3>   </h3>

                                                                </xsl:if>

                                                                <xsl:if test="receivers/receiver/user/user_group = 'STA'">

                                                                            <h3>

                                                                            <h3>Dear&#160;<xsl:value-of select="receivers/receiver/user/first_name"/>&#160;<xsl:value-of select="receivers/receiver/user/last_name"/>

                                                                            </h3>   </h3>

                                                                </xsl:if>

                                                                <xsl:if test="receivers/receiver/user/user_group = ''">

                                                                            <h3>@@dear@@&#160;<xsl:value-of select="receivers/receiver/user/first_name"/>

                                                                            </h3>

                                                                </xsl:if>

                                                                </xsl:for-each>

                                        </td>

                            </tr>

    </table>

                </xsl:template>

    </xsl:stylesheet>

     

    Additional Information

    Click here for additional information on how to configure ALMA Letters.

     

     




    Report
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to Load Patrons from Alma Sandbox to Alma Production in the Event of a Data Loss
      • How to use a MARC Enrichment Service with Alma
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Community Content Type
      How To
      Content Type
      Documentation
      Language
      English
      Product
      Alma
    2. Tags
      This page has no tags.
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved