using custom request forms in webcat ruth salisbury, systems manager reading university library...
Post on 21-Dec-2015
217 views
TRANSCRIPT
Using custom request forms in WebCat
Ruth Salisbury, Systems Manager
Reading University Library
EUUG, Copenhagen, 5-7-September, 2001
Contents
• Purchase request forms (Reading)
• ILL request forms (other Unicorn library)
• Unicorn policies
• HTML code for WebCat
• WebCat pages
Unicorn policies
Unicorn requires all the usual policies to set up
• Request type
• Entry Ids (including Template, Full and Brief entry lists)
• Request format - to include ALL the fields you want to display
Request format/s
• If you want to create several custom request pages, you will need a separate request format, with the appropriate entries for each page
• Custom pages will be named ****.h and will be specified as Sirsi_Include files in 34.pg
HTML code for WebCat
• Use the View Source option in the browser to see how WebCat uses the format entries
• Use this as a basis to create your custom page/s
WebCat pages
• Custom pages live:
../Unicorn/Webcat/Pages_custom/Default
• Relevant pages:– 34.pg– ****.h (this is the file specified in
SIRSI_Include)
SIRSI_Conditional expression
<SIRSI_Conditional IF DC_COMP="KO^NEW TITLE PURCHASE">
<SIRSI_Include File="purchase.h">
<SIRSI_Conditional ELSE>
• DC_COMP=“datacode^value”
• KO - Request Type Description
• Request Type Description (RUL) - NEW TITLE PURCHASE
../Unicorn/Webcat/Pages_custom/Default/purchase.h(2)
Size of field anddefault text
Field display label
• nb all default data has to be hardcoded in the HTML. The defaults set up the the format policy do not come through if the page is customised
• field labels can be any length ie not restricted to 10 characters
../Unicorn/Webcat/Pages_custom/Default/purchase.h(3)
Size of field anddefault text
3 entries displaying on a single line
../Unicorn/Webcat/Pages_custom/Default/purchase.h(4)
Size of field anddefault text
3 entries displaying on a single line
Tickbox