Creating Library Specific URLs

Answered By: Eliana Lima
Last Updated: Jul 17, 2020     Views: 48

Libraries participating in ComCat may want to link patrons and staff to a scoped version of ComCat with their library pre-selected. There are three ways to do this depending on what you hope to achieve:

  • A URL can be constructed to take the user to a particular LID (Library ID). When they click on the login button, the correct library will be pre-selected. The library's name will also appear in the website's header.

URL Structure: https://commonwealthcatalog.org/home?cid=massvc&lid=LID

  • A URL can be constructed to bring the user to a particular LID and automatically show the login prompt. The user is not automatically logged in, they will need to manually enter their login information on-screen.

URL Structure: https://commonwealthcatalog.org/login?cid=massvc&lid=LID

  • A URL can be constructed to auto-login the user. These URLs should be built and shared with great caution as they are providing immediate access to the system without requiring the user to know or enter the password.

URL Structure: https://commonwealthcatalog.org/home?cid=massvc&lid=LID&uname=USERNAME&pass=PASSWORD

The above URL Structures include the following building blocks:

  • CID = Customer ID, this will always be "massvc"
  • USERNAME = Replace the word "USERNAME" with your username
  • PASSWORD = Replace the word "PASSWORD" with your password
  • LID = Library ID, this is your library's ID in ComCat (ex. FLO-WENTWORTH). If you're not sure what your LID is, you can search for your library's name on the search screen and it will appear in the dropdown: