Alma Cancellation Letter with ILLiad OpenURL

Sometimes people request an item through CSU+ that cannot be filled for one reason or another. In this case the request will go through the whole rota and eventually automatically cancel and send out a cancellation email. This email can have a link to a pre-filled ILLiad request so our patrons can ask for this item from a library outside the CSU system. Below are links to the directions and letter coding developed by Orbis Cascade to set up this letter.

CSU Directions

In the directions for the letter there are a few points that are misleading. I have edited most of the code so you only need to worry about the text in blue. Simply copy all the code on this page and paste it into the letter after this line:

<tr>

<td><xsl:call-template name=”recordTitle” /> <!– recordTitle.xsl –></td>

</tr>

Text to Copy:

<xsl:if test=”notification_data/request/resource_sharing_request_id != ””>
<xsl:if test="notification_data/request/status_note_display != 'Time to pick up resource from hold shelf has passed'">

                                                <tr>

                                                    <td><xsl:variable name=”title”>

                                                       <xsl:value-of select=”notification_data/phys_item_display/title” />                                                         

                                                   </xsl:variable>

                                                   <xsl:variable name=”author”>

                                                       <xsl:value-of select=”notification_data/phys_item_display/author” />                                                         

                                                   </xsl:variable>

                                              <xsl:variable name=”isbn”>

                                                       <xsl:value-of select=”notification_data/phys_item_display/isbn” />                                                         

                                                   </xsl:variable>

If you would still like to request on Interlibrary Loan (10-12 days) use the following links:

<br/><br/>

                                                  <a href=”PUT YOUR ILLIAD URL HERE?Action=10&amp;Form=30&amp;url_ver=z39.88-2004&amp;rfr_id=onesearch&amp;rft_val_fmt=info:ofi/fmt:kev:mtx:book&amp;rft.genre=book&amp;citedin=OneSearch&amp;rft.btitle={$title}&amp;rft.aulast={$author}&amp;rft.isbn={$isbn}”>Interlibrary Loan</a>

<br/><br/>

                                            </td></tr>

                                            </xsl:if>
</xsl:if>

No ILLiad Link For Expired Hold Shelf Items:

The above code was edited to prevent an ILLiad link from being included in emails for items cancelled because they were not picked up from the hold shelf. This is to prevent patrons from ordering the same item a second time when they had already received it. the code consists of two additions:

  • Line 2: <xsl:if test="notification_data/request/status_note_display != 'Time to pick up resource from hold shelf has passed'">
  • Last line: an additional </xsl:if>

If you want this functionality simply copy the code above and put in your ILLiad URL. This additional code was created by Matthew Prutsman (Unlicensed) at Cal State LA. If you have any questions about this addition he would like to hear from you at matthew.prutsman@calstatela.edu