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. Knowledge Articles
    4. How to Add the User's First Name to the mailReason.xsl Letter

    How to Add the User's First Name to the mailReason.xsl Letter

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Question
    2. Answer
    • Product: Alma

    • Product Version: May 2017
    • Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local, TotalCare

     

    Question

    How do I add the patron's first name to the letter salutation?

    Answer

    Perform the following steps:

    1. From the Alma Configuration menu under the General > Letters > Components Configuration.

    2. Locate the "mailReason.xsl" letter and on Actions > Edit.

    3. Insert the cursor after the following text:

    <h3>@@dear@@ &#160;

    4. To add the user's first name insert the following text:
    <xsl:value-of select="receivers/receiver/user/first_name"/>&#160;

    5. (Optional) To substitute the user's last name with the user's first name, perform the following steps:

    1. Locate the following text:
      <xsl:value-of select="receivers/receiver/user/last_name"/>
    2. Highlight the word "last".
    3. Type "first" (without quotes).

    6. Click on the "Customize" (or "Save") button.

    7. Test a letter to verify that the user's name appears as desired.

    As a result the xsl for first name will appear between the xsl for the salutation and the xsl for the last name.

    End result should look like this:
    <h3>@@dear@@&#160;<xsl:value-of select="receivers/receiver/user/first_name"/>&#160;<xsl:value-of select="receivers/receiver/user/last_name"/></h3>

     

     


    • Article last edited: 19 May 2017
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to add the correct resource type in a Reading List citation?
      • How to Address Indexing Issues in Alma and Primo VE
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Content Type
      Documentation
      Language
      English
    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