Automates Alma license terms for ILLiad Lending requests.
Type: Server Addon
This addon automates the checking of Alma license terms for ILLiad Lending requests. It polls one or more queues (comma separted), queries the Primo/Alma APIs to determine if the requested item is held electronically, and checks the associated license terms for Interlibrary Loan permissions.
Based on the result, the request is automatically routed to a Success, Deny, or Not Found queue if auto-routing on and custom queues of your choice. Additionally, licensing information will be added to a note in request. If auto-routing is off, note will just be added. To re-run a check against a TN, you must delete previous notes added.
- Search Configuration: Configure Title, OCLC, ISSN, and in what order for search.
- License Validation: Checks Alma license terms for specific permissions (
ILLELEC,ILLSET,ILLPRINTFAX,INTLILL) set toPERMITTED. - Direct SQL: Uses optimized SQL queries to read transaction data without loading heavy ILLiad objects.
- ILLiad 9.x or higher.
- Ex Libris Alma/Primo environment.
- API Keys for:
- Primo Search API
- Alma Bibs & Electronic API
- Ensure you have the three required files:
Main.luaConfig.xmlJsonParser.lua
- Compress these files into a
.ziparchive. - Open the ILLiad Customization Manager.
- Navigate to Server Addons.
- Click New, select your
.zipfile, and upload. - Enable the addon and configure the settings below.
- BaseUrl: Your regional API URL (e.g.,
https://api-na.hosted.exlibrisgroup.com). - PrimoApiKey: API key with permissions for Primo Search.
- AlmaApiKey: API key with permissions for Alma Bibs (Read) and Acquisitions (Read).
These values control where the addon searches within your catalog.
- PrimoInst: Institution Code.
- PrimoVid: View ID.
- PrimoTab: Search Tab.
- PrimoScope: Search Scope.
- SearchOptions: Comma-separated list of search types: OCLC, ISSN, TITLE. Will search by order. If Article Request, Title uses ArticleTitle.
- ProcessQueue: The queue(s) the addon monitors (e.g.,
Awaiting Lending Request Processing). - If AutoRouting on:
- SuccessQueue: Where to route items if a license permits lending.
- DenyQueue: Where to route items if the license forbids lending.
- NotFoundQueue: Where to route items if no match is found in Primo.
- Dependency: Requires
JsonParser.luain the root directory to handle API responses. - Logging: Logs are written to the ILLiad System Manager log. Look for the logger name
AtlasSystems.Addons.AlmaLicenseCheck.