Zur Startseite
OCLC Support

Resource bookings

Learn how Amlib allows your library to make bookings through the Reservations screen for patrons.

Amlib allows your library to make bookings through the Reservations screen for patrons. Bookings can be made on items within the database such as Equipment and PCs. It is generally best to have a separate form code set up for the equipment that you book to allow for easier reporting. It is also possible to set up your NetOPACs to allow patrons to place their own bookings if you choose.

AMLIBSupervisor Settings

  1. Launch the Amlib client
  2. Go to Main > Supervisor > Locations – the Locations table will display
  3. Highlight the first circulating location and click the F9 Hours button – the Working Hours screen for that branch will display
  4. Enter the opening hours for that branch and click the F3 Save button
  5. Repeat for all locations
  6. For these settings to take effect you must exit and restart the Amlib client

Booking an Item

  1. Launch the Amlib client
  2. Go to Main > Borrowers > Borrower – the Borrower Details screen will display
  3. Search for the patron that would like to make the booking
  4. From the menu, select XReferences > ReservationsModule – the Reservations screen will display
  5. From the menu, select Items > Item Search – the Stock Item Enquiry screen will display
  6. Search for the equipment the patron would like to book: enter an item search term and click the F5 Query button

    Please Note: This is a browse search, so you must search using the words that the equipment title begins with.
  7. A list of equipment will display in the table
  8. Highlight the exact item that is to be booked and from the menu select Borrower > Book Marked Items
  9. This will bring up the Create Booking window
  10. Enter all the booking details. The calendar can be used to select a start and end date for the booking or you are able to choose to make the booking in n Days from Today
  11. When the booking date and time has been entered, select the Confirm Booking button
  12. If the time slot has been used by another borrower or is not available, the following message will appear: Item No XXXX is already booked by XXXXX for the period XXXX to XXXX Proceed without this item?
  13. If the booking is accepted by clicking the Yes button, you will see the following prompt: Items have been Booked
  14. Click the OK button and then the Exit button on the Create Booking window

Check Existing Bookings for a Borrower To check the booking:

  1. Launch the Amlib client
  2. Go to Main > Borrowers > Borrower and search for the patron
  3. From the menu, select Borrower > Current Bookings – the Existing Bookings for Selected Borrower screen will display containing a list of the bookings that borrower has made

    From here you can either cancel the booking or print (via the F6 Print button ) a copy of the booking for the borrower.
  4. To cancel a booking: highlight the item line and select the F4 Cancel button
  5. Select the Yes button on the prompt

View Bookings on an Item

  1. Launch the Amlib client
  2. Go to Main > StockItems > Stockitem and search for the item
  3. From the menu, select Item > CurrentBookings – the Stockitem Bookings screen will display


Issuing a Booked Item

A booked item such as a laptop can be issued to a borrower.

  1. If the item is issued before the start time for the booking has passed, the following message will appear allowing the following options:
    • Continue with issue – choose the Yes button: This will issue to the patron and leave the booking on the system
    • Abandon the Issue – choose the No button: this will cancel the issue
    • Continue with Issue and Cancel the booking – choose the Cancel button: this is the recommended option to issue to the patron and clear the booking
  2. Loan period depends on parameters for the item Form not the booked period.

NETOPACs

Set up HTML Templates

The Bookings Template

  1. This requires some experience of HTML. Open an existing .htm for your style of NetOPACs. If you’re not sure which set of pages you are using, or where they are located please see the guide entitled Find Your NetOPAC Templates available on the customer content portal.
  2. You can essentially use any existing .htm page to create your bookings page, but a good one to start with is Reserve.htm.
  3. For this example we will be opening the Reserve.htm in a text editor and altering the HTML of the document. If you know HTML then you should be able to follow along, but you can also do this by using an HTML editor such as EditPlus or Dreamweaver.
  4. Before editing your page, make a copy and save it as Booking.htm.
  5. The reason that the Reserve.htm page is a good one to start with in this instance is that it already contains some of the placeholders and form items required for the Booking.htm page. You do not need to remove any items from the current page:
  6. The one thing you may need to change is the text on the “Submit” button so that it says “Book Item” instead of “Reserve”.

  7. Now you need to add the rest of the items required to make it a bookings page. There are six “hidden” fields required to make this page work. If you’re using DreamWeaver, these are “input” items (or field items) set to type hidden.

    Type

    ID

    Name

    Value

    Explanation

    hidden

    closeddays

     

    @closeddays@

    Stores library closed days

    hidden

    openhours

     

    @openhours@

    Stores library open hours

    hidden

    holidays

     

    @holidays@

    Stores library public holidays

    hidden

     

    v29    

    hidden

     

    v36

     

    Stores “from” date

    hidden

     

    v37

     

    Stores “to” date
  8. From this table, if you are using DreamWeaver, you can insert the items. For example: In DreamWeaver, find the “Form” items:

  9. This is a hidden field, so select “Insert Hidden Field”.
  10. Insert the name and the value of this field, but I’m not sure if the name is added as a “Name” or as an “ID”.
  11. By clicking on the little edit icon, we can see that typing the word “closeddays” into the field above has put it as a “Name”.
  12. This will be fine for the last three hidden fields (v29, v36, v37) but not for the first three, so manually edit the source code and change “name” to “id”.

    You can do this for the rest of the items above.
  13. Before adding in the items that allow patrons to book the item, we’re going to add the placeholder that allows them to see when the item is already booked for: in a single cell, single row table below INSERTDATAHERE we’re going to add INSERTCURRENTBOOKINGSHERE

    If you open (or refresh) the page in a web browser, you will be able to see how it may look when compiled.
  14. Next add the visible form items that allow patrons to select how long they want to book the item for. This will involve some formatting, such as maybe placing them in a table, or just ensuring there are enough line breaks in between items

    The first item is a drop down box (or “select” box) that allows patrons to select a period of time (i.e. 2 hours).


     
    Type ID OnChange Explanation
    select sessionlength JavaScript:InitTimes(): Booking time intervals
     

    For each of the options in the drop down box, list the booking times that you would like to allow your patrons in number of minutes, i.e. 2 hours is 120 minutes. Again, if you refresh this page in your web browser, you can see how it will look when compiled.

  15. The next drop down box will allow patrons to decide if they want to make the booking by entering the number of days from today’s date, or if they want to enter a date in the future

     

    Type

    ID

    OnChange

    Explanation

    select

    booktype

    JavaScript:ToggleFields();

    Booking type

     

    There should only be two options for this drop down box: DATE and DAY.


    This next text field is used if a patron has selected “Day” from the above drop down box.



     

    Type

    ID

    Onblur

    Explanation

    text

    daysfromtoday JavaScript:UpdateDays();

    Days from today

  16. The next set of fields all concern the “from” time/date of the booking

    Type

    ID

    Onblur

    Explanation

    text

    dayfrom

     

    Displays day

    select

    datefrom

    JavaScript:UpdateDate(true);

    Displays date

    select

    monthfrom

    JavaScript:UpdateDate(true);

    Displays month

    select

    yearfrom

    JavaScript:UpdateDate(true);

    Displays year

    select

    timefrom

     

    Displays time


    Note: the “dayfrom” text field should be set to read-only. In HTML this is done by adding readonly=”readonly”.

    The fields for the “to” time/date of the booking are similar.

    Type

    ID

    Onblur

    Explanation

    text

    dayto

     

    Displays day

    select

    dateto

    JavaScript:UpdateDate(false);

    Displays date

    select

    monthto

    JavaScript:UpdateDate(false);

    Displays month

    select

    yearto

    JavaScript:UpdateDate(false);

    Displays year

    select

    timeto

     

    Displays time



    Note: the “dayto” text field should be set to read-only. In HTML this is done by adding readonly=”readonly”.
     
  17. Your page should already have the fields for library number/barcode, PIN (if your library uses PINs) and a drop down box to select the location. But in case they are absent, they are:

    Type

    Name

    Explanation

    text

    v31

    Barcode

    password

    v32

    PIN

    select

    v33

    Options should contain location codes

  18. The select box for locations must be altered to include: 
    • onchange="JavaScript:ChangeLocation();"
  19. The submit button must also be altered to include:
    • onclick="JavaScript:ConfirmBooking();"
  20. The final item to be added to your Booking.htm page will be the text @bookingjs@ just before the closing body tag: </body>
  21. Now that all of your fields are added, you can have a look at it in your web browser and customise it to suit the look your library wants. For instance, you will notice that none of the new fields have any text describing what that fields are for, so you may want to add labels next to them so they are more user friendly. You may also want to move the fields around on the page, or adjust the default size of them so they are more eye-catching

    Example end result:
  22. 12. Once your template is set up, you can save and close it

Altering Your Item List

  1. Open up your ItemList.htm page. You can view this in a web browser to get a good idea of where you would like your bookings link to display
  2. The placeholder that you need to add to this page to create the link is INSERTBOOKINGHERE

Editing the Amlib.ini

  1. There are two items to be added to your NetOPACs Amlib.ini. This file will be located on your NetOPACs server under something like C:\Netopacs\Amlib.ini and can be opened in Notepad to be edited.
  2. The two items involving bookings, which you may need to add to your Amlib.ini under the heading [NETOPACS] are:
    • Booking=*text for link to Booking.htm*
    • BookingForms=*list of Form codes that can be booked*

Compiling Your Pages

The final step in settings up bookings for your NetOPACs is to compile your pages.

  1. Launch the Amlib client
  2. Go to Main > Supervisor > WebParams – the Web Opacs Parameters screen will display
  3. From the menu, select Html Parameters > Compile
  4. The Net Opacs Compile window will display – navigate to the folder containing your web pages.
  5. You will find ReserveOn.ini and ReserveOff.ini. Whichever one you use depends on whether the students/patrons are allowed to make their own reservations or not so if they are allowed to make reservations, then choose the ReserveOn.ini or vice versa. More recent Net OPAC installations may only have one .ini file called Item_Result.ini – if this is the case then select that. Then click on the Open button.
  6. You will then be asked to type in a Web User Code. This code denotes your NetOPAC instance. If you are running more than one set of NetOPAC pages (for example: a junior and senior set of pages) then you will be using more than one code. Typically, the first instance is designated a and the second b and so on. If you have only one set of pages, then just type in a.
  7. Click on the OK button
  8. Amlib will now compile these pages (and the amlib.ini file) – the following message will appear once complete: All the Web Parameters have been created.

Restart the NetOPAC WebConsole / Service Manager

Once the recompile is complete, you will need to restart the NetOPAC WebConsole or Service Manager (for example: FireDaemon)

To restart the WebConsole:

  1. Now the WebConsole is probably already running, so maximise the WebConsole window
  2. You will then need to reload it using the code you entered at step 7. So in the Style box, type the code you used at step 7 (leave as ‘a’ if you compiled as ‘a’) and then press the orange ReLoad button. That will take a few seconds and then it will be ready to test.
  3. The WebConsole has now been restarted

To restart the Service Manager:

 

  1. If you using FireDaemon or a similar Service Manager, then open the Service manager from your Programs listing.
  2. Select the Net Opacs WebConsole, click on the stop button, and then the start button.
  3. The service has now been restarted

Refresh Browser Pages

  1. Close any internet browser windows that are open and then reopen a new page.
  2. Navigate to the URL or location or favourite that you usually go to when accessing the NetOPACs system and test the new pages.
  3. If they look the same as the old pages, then press CTRL and the Refresh/Reload button on the browser window to refresh the pages properly.
  4. Now the pages should reflect the changes that were made, or you should be able to reserve items if you did the Reserveon.ini to Reserveoff.ini change. Do a few searches and ensure that the NetOPACs are functioning correctly.

**using an ‘a’ code is recommended because if the server reboots or WebConsole is restarted, ‘a’ is the default code.**

Reports

You can create lists of booked items including booking details to assist with the item collection process.

  1. Launch the Amlib client
  2. Go to Main > Reports > RepReservation – the Reservation Reports table will display
  3. Click the F1 New button – the Select Report Format table will display
  4. Highlight the Booking list by Item template (&BKGLSTK.QRP) and click the Select button
  5. Give the report a name (for example: Today’s Booking by Item)
  6. Click the F3 Save button
  7. Highlight the report line and select the F7 Where button – the Reservation Reports – Where screen will open:
  8. Enter the following Where statement (which will give you a complete list bookings for collection today only):
    1. Bookings Only (Y/N) = Y
    2. (Optional) Only Show First in Queue (Y/N) = Y (this would only show the first booking on each item – if you would like to print all bookings on an item for that day, then omit)
    3. Booking From Date >= Current Date (select via Special button)
    4. Booking From Date < Current Date + 1 Day (select via Special button)
  9. Select F3 Save button when complete
  10. Click the F9 Order button – the Reservation Reports – Order By screen will display:
  11. Highlight the following parameters in the Columns table and use the arrow keys to insert them in the Order By column:
    1. Item Barcode
    2. Booking From Date
  12. Click the F3 Save button when complete
  13. Highlight the Report line then select F8 View – the following prompt will appear: This type of report may use a Saved File as the Source. Do you want to select the file now?

  14. Select No button
  15. You will then see the bookings list for today. This list is a snapshot of bookings at the time the report is run and you may need to repeat step 13 onwards to view the report again at regular intervals throughout the day, depending on your workflow