
Customizing Alma Letters & Notices: How to Customize Notifications Effectively
Learn how to customize Alma letters and notices efficiently using XML and XSL to tailor the content to your specific needs. Explore step-by-step guidance on making content changes, accessing key fields, and formatting letters to convey your message effectively.
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
Customizing Alma Letters & Notices (Because sometimes you need to tell people about the cannibals) Lori Hilterbrand Headhunter Trophy, cliff1066 flickr CC2.0
What youll need to do the work Role Letter Administrator Notepad++ or the like Coffee
What Ill need to do the work: All of these links https://na01.alma.exlibrisgroup.com/mng/login?institute=01ALLIANCE_OSU https://docs.google.com/document/d/1KbgQ9ub6J16DB_qRq2aYCLwq7MLT8j R7ZfLzCWFNHAM/edit https://docs.google.com/document/d/110Pe6VXPxORBmdcgO_fw58UmlMZhs t_SOHmjnvWsnwY/edit
How to get started Think of your need first, then go looking for how to make it happen using the XML (data that the letter draws from) to see what fields are available, and the XSL (the code that formats the letter) to make it look how you want it to You can choose content changes using several key qualifications such as equals, contains, starts with, etc. You may also be able to use the simple preset lines of each letter (we ll see examples of this as well). Stack Overflow XSLT gives good advice but always test!
Lets work with the title on this one: <xsl:if test="contains(notification_data/items/item_loan/physical_item/title , 'Cannibalism')"><b>I ate his liver with some fava beans and a nice chianti.</b> </xsl:if>
<xsl:if test="contains(notification_data/items/item_loan/physical_item/title Things to keep in mind: , 'Cannibalism')"><b>I ate his liver with some fava beans and a nice chianti.</b> </xsl:if> Cannibal Cousins didn t work guess why not The Ethnography of cannibalism didn t work either guess why not If the cannibalism book was not the 1stbook in the list, it wouldn t work guess why not? We can work with the title, because that field is available in the XML (the data that can get fed into the letter). Also available from the XML for item information are author, location (both permanent and temporary), call number, barcode and much more!
And Item Policy! Maybe this would be more useful: <xsl:if test="notification_data/items/item_loan/physical_item/ item_policy='52'"><b>Before returning your game, please check that all pieces are present.</b> </xsl:if>
Different Libraries? Different emails? Contact Us link in the footer template Closing Best Wishes <table> <tr><td>@@sincerely@@< /td></tr> <tr><td><xsl:value-of select="notification_data/organiza tion_unit/name" /></td></tr> </table>
I needed a way to notify a select group of users (in this case Doctoral candidates) that we had research rooms available. I found a job to notify users but it only offered Password Change or Social Login notifications. Time to bend it to our will!
Creating another notification! User management configuration menu > general > user notification types Add Row!
Lets go see if it worked! Manage Jobs and Sets > Run a job > Update/Notify Users
Here is the letter that job triggers. You can see that lines 1 and 2 are set up for the password change. But we have lines 3 through 20 to play with! And that Dear Sir/Madam has GOT to go!
Adding the to/from and personalized Dear Last year s presentation Dear Patron Moynihan details how to change the senderReceiver and mailReason templates. Let me know if you need help!
Create a set of users who should receive the notice Creating user sets is super- challenging in Alma since there are so few filters available. Analytics will work well for a set based on user group (for instance all Doctoral candidates) Export to excel or csv and rename column a USERNAME so it can be ingested by Alma correctly
Once youve uploaded your set, add some text to the preset lines in the letter
And heres where the magic starts: Below this Add this by copying the code and editing the notification type and line numbers!
You can add those fancy italics by using an <I> And if you re really adventurous you can add some color using <font color= blue > or such
Questions? <h3>@@Line_7@@</h3>