Displaying Multiple Request Forms for a Genre

Follow

Starting with Ares 4.6, multiple request form options can be displayed for a particular genre. When the Ares DLL looks parse the OpenURL and look for which request form to display for a particular genre if multiple records exist for a genre the DLL will show the IOpenURLMenu.html web page. This page will use the OpenURLMenu tag to produce a list of links for the possible request form options as defined by the OpenURLMapping table in the Ares Customization Manager. If the IOpenURLMenu.html page does not exist, the first request form listed in the OpenURLMapping table will be used.

Adding Genre Entries

Additional genre entries for OpenURL mapping can be made in the OpenURLMapping table found in the Ares Customization Manager.

  1. Navigate to the OpenURLMapping table in the Ares Customization Manager under Web | OpenURL.
  2. Click New Record to create a new entry manually, or select an existing entry and click Copy Record to copy the information from that record.
  3. Click on the entry you want to duplicate, and click Copy Record. The Edit Row form will open.
  4. Edit the Ares Value for the entry.

  5. Click Save.

For example, if you want both an Article and a Book Chapter request form option to display for articles, you could edit the Ares Value to say Serial:IRFOpenURLBookChapter.html. You could then create a web page named IRFOpenURLBookChapter.html with the appropriate fields and store it in your Ares web folder. Then when users attempt to request an Item through OpenURL that is designated as an article, they can choose which request form to use.

Adding a Friendly Name

A "friendly name" parameter is allowed in the OpenURLMapping table for destination pages. This name is the link text that will display in the OpenURL menu when there are multiple request forms associated with a specific genre. See Displaying Multiple Request Forms for a Genre for more information.

  1. Navigate to the OpenURLMapping table in the Ares Customization Manager under Web | OpenURL.
  2. Double-click to open and edit an entry.
  3. In the Ares Value field, add the friendly name followed by a colon at the end of the value. For example, if you want the wording to say "Book Chapter," add :BookChapter to the end of the value. If the value originally said "Serial:IRFOpenURLBookChapter.html," it should now say Serial:IRFOpenURLBookChapter.html:Book Chapter.
  4. Click Save.

Selecting the Request Form

If multiple entries are found for a specific genre, the DLL will display the IOpenURLMenu.html page instead of a specific request form. From here, the user can decide which kind of request they want to make by clicking on a link for that request type. The associated request form web page will open and the user can submit the request as usual.

The IOpenURLMenu.html page uses the OpenURLMenu tag to produce the list of links for possible form options. See Ares OPENURLMENU Tag for more information about this tag.

0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.