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> |
|
|
<xsl:if test="$deliveryTime != '' or $loanPeriod != '' or $patronCost != ''"> @@borrowing_terms@@: <xsl:if test="$deliveryTime != ''"> @@deliver_in@@ <xsl:value-of select="$deliveryTime"/> <xsl:value-of select="' '" /> @@hours@@ <xsl:value-of select="' '" /> </xsl:if> <xsl:if test="$loanPeriod != ''"> @@keep_for@@ <xsl:value-of select="$loanPeriod"/> <xsl:value-of select="' '" /> @@days@@ <xsl:value-of select="' '" /> </xsl:if> <xsl:if test="$patronCost != ''"> @@price@@ <xsl:value-of select="$patronCost"/> </xsl:if> </xsl:if> |
|||
<xsl:if test="(notification_data/resource_sharing_request/due_date !='') and ($isEbook='true')"> <tr> <td>@@due_date@@:<xsl:value-of select="notification_data/resource_sharing_request/due_date"/> </td> </tr> </xsl:if> |
|
||
<xsl:if test="$deliveryTime != '' or $loanPeriod != '' or $patronCost != ''"> @@borrowing_terms@@: <xsl:if test="$deliveryTime != ''"> @@deliver_in@@ <xsl:value-of select="$deliveryTime"/> <xsl:value-of select="' '" />
@@hours@@ <xsl:value-of select="' '" /> </xsl:if> <xsl:if test="$loanPeriod != ''"> @@keep_for@@ <xsl:value-of select="$loanPeriod"/> <xsl:value-of select="' '" /> @@days@@ <xsl:value-of select="' '" />
</xsl:if> <xsl:if test="$patronCost != ''"> @@price@@ <xsl:value-of select="$patronCost"/> </xsl:if> </xsl:if> </xsl:if> |
|
||
<xsl:if test="notification_data/new_terms_exist='true'"> <tr> <td> <xsl:if test="notification_data/ngrs_request/delivery_time != '0' and notification_data/ngrs_request/loan_period != '0'"> @@to@@ <xsl:value-of select="notification_data/ngrs_request/delivery_time" /> <xsl:if test="notification_data/new_offer_format = 'Digital'">
@@keepForEbook@@
</xsl:if> <xsl:if test="notification_data/new_offer_format != 'Digital'"> @@keepFor@@ </xsl:if> <xsl:value-of select="notification_data/ngrs_request/loan_period" /> @@days@@
</xsl:if> <xsl:if test="notification_data/ngrs_request/delivery_time = '0'"> @@toRota@@ @@deliveryNotExist@@ <xsl:value-of select="notification_data/ngrs_request/loan_period" /> @@days@@ </xsl:if> <xsl:if test="notification_data/ngrs_request/loan_period = '0'"> @@to@@ <xsl:value-of select="notification_data/ngrs_request/delivery_time" /> @@loanPeriodNotExist@@ </xsl:if> <xsl:if test="notification_data/new_cost !=''"> @@costToPatron@@ <xsl:value-of select="notification_data/new_cost" /> <xsl:value-of select="' '" /> <xsl:value-of select="notification_data/currency" /> </xsl:if> <xsl:if test="notification_data/new_cost ='' and notification_data/old_cost !=''"> @@costIsUnkown@@ </xsl:if> <xsl:if test="notification_data/offer_format_changed ='true' and notification_data/new_offer_format ='Digital'"> @@digital@@ @@format@@ </xsl:if> <xsl:if test="notification_data/offer_format_changed ='true' and notification_data/new_offer_format ='Physical'"> @@physical@@ @@format@@ </xsl:if> </td> </tr> </xsl:if> |
|