Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    How to prevent printing specific slips and notifications at specific locations

    Question

    How to prevent printing specific slips and notifications at specific locations?

    Answer

    It is possible to manipulate Alma slips and notifications so that they will not be printed if specific conditions are met.

    For example, it is possible to set hold shelf notifications not to be printed for items received via a resource sharing request.

    This is done by adding a conditional ‘terminate’ clause to the XSL, with a condition that matches the requirement.

    Example:

    The clause -

    <xsl:if test="notification_data/phys_item_display/location_name = 'Borrowing Resource Sharing Requests'">
        <xsl:message terminate="yes">this is an ill item!</xsl:message>
    </xsl:if>
    

    Will cause the relevant slip/notification not to print when printed for an item at the 'Borrowing Resource Sharing Requests'.

    Additional Information

    For more detail, with real example and xsl, see: 

    Letters - How to configure a letter to not be sent under certain circumstances