Available Fields for Rapido Letters
With Rapido developments, more fields have been made available to use in letters related to Rapido workflows. These fields are not added in the default template of the letter so that the libraries using the default templates are not impacted by these changes. Instead, utilize the provided code to add a field to a letter where that data is not available.
Field |
XML Field |
Code to Add Field to Letter |
Letters Field Can Be Added To |
Borrowing institution
|
notification_data/partner_name |
<xsl:if test="notification_data/partner_name != ''" > <tr> <td><strong>@@supplied_to@@: </strong><xsl:value-of select="notification_data/partner_name"/></td> </tr> </xsl:if>
|
|
Group Qualifier |
group_qualifier |
<tr><td> <b>Group Qualifier: </b> <xsl:value-of select="notification_data/group_qualifier"/> </td></tr> Note: The request id format is 0//00000000. |
|
Renewals Allowed |
renewals_allowed |
<tr><td> <xsl:value-of select="notification_data/renewals_allowed"/> </td> </tr> |
|
Rapido POD |
pod_id pod_name
|
<xsl:if test="notification_data/pod_name" > <tr><td> <b>Pod name: </b> <xsl:value-of select="notification_data/pod_name"/> </td></tr> </xsl:if> <xsl:if test="notification_data/pod_id" > <tr> <td> <b>Pod ID: </b> <xsl:value-of select="notification_data/pod_id"/> </td> </tr> </xsl:if> |
|
Borrowing Library Address Information |
borrowing_library_address |
<table> <xsl:attribute name="style"> <xsl:call-template name="listStyleCss" /> <!-- style.xsl --> </xsl:attribute> <tr><td><xsl:value-of select="notification_data/borrowing_library_address/line1"/></td></tr> <tr><td><xsl:value-of select="notification_data/borrowing_library_address/line2"/></td></tr> <tr><td><xsl:value-of select="notification_data/borrowing_library_address/line3"/></td></tr> <tr><td><xsl:value-of select="notification_data/borrowing_library_address/line4"/></td></tr> <tr><td><xsl:value-of select="notification_data/borrowing_library_address/line5"/></td></tr> <tr><td><xsl:value-of select="notification_data/borrowing_library_address/postal_code"/></td></tr> <tr><td><xsl:value-of select="notification_data/borrowing_library_address/country_display"/></td></tr> </table>
|
|
Partner Code |
partner_code |
<tr><td> <b>Partner Code: </b> <xsl:value-of select="notification_data/partner_code"/> </td></tr>
|
|
Library Location for Institutions with Multiple Libraries |
pickupLibraryName |
<xsl:if test="notification_data/pickup_library_name !=''"> <tr> <td> <b>Pickup library: </b> <xsl:value-of select="notification_data/pickup_library_name"/> </td> </tr> </xsl:if> |
|
Internal request ID |
resource_sharing_request_id |
<td> <b>Internal request ID:</b> <img src="cid:resource_sharing_request_id.png" /> </td> |
|
Alternate Symbol |
notification_data/alternate_symbol |
<xsl:if test="notification_data/alternate_symbol !=''">
<tr>
<td>
<b>Alternate Symbol: </b>
<xsl:value-of select="notification_data/alternate_symbol"/>
</td>
</tr>
</xsl:if> |
|
Shipping Address (for Rapid Returnables pod) |
address1 address2 address3 address4 address5 |
<xsl:for-each select="notification_data/partner_shipping_info_list/partner_shipping_info"> <tr><td><xsl:value-of select="address3"/></td></tr> |
|
Shipping Address (for Rapid Returnables pod) |
<xsl:if test="notification_data/partner_address/line1 !=''"> |
|
|
Shipping Address (for Rapid Returnables pod) |
<xsl:if test="notification_data/borrowing_library_address/line1 !=''">
<tr> <td> <xsl:value-of select="notification_data/borrowing_library_address/line1"/> </td> </tr> </xsl:if> <xsl:if test="notification_data/borrowing_library_address/line2 !=''"> <tr> <td> <xsl:value-of select="notification_data/borrowing_library_address/line2"/> </td> </tr> </xsl:if> <xsl:if test="notification_data/borrowing_library_address/line3 !=''"> <tr> <td> <xsl:value-of select="notification_data/borrowing_library_address/line3"/> </td> </tr> </xsl:if> <xsl:if test="notification_data/borrowing_library_address/line4 !=''"> <tr> <td> <xsl:value-of select="notification_data/borrowing_library_address/line4"/> </td> </tr> </xsl:if> <xsl:if test="notification_data/borrowing_library_address/line5 !=''"> <tr> <td> <xsl:value-of select="notification_data/borrowing_library_address/line5"/> </td> </tr> </xsl:if> |
|