Category: primo

PrimoVE Item Locations Filter
We recently switched from Primo to PrimoVE and have had numerous complaints about activating the Filter Options for item locations in the Full Display view. Here is the code I wrote to auto-enable the filter so that it will be on for users when they do a search. Here is a sample picture showing the…

PRIMO Filter PrimoVE

User Tokens and the Primo APIs
Several of the Primo REST APIs operate in the context of a user. Those APIs require that the caller send in a token which represents the user’s context. This post lays out the steps required to create the token and use it in subsequent API calls. Create the Token To create the user token, you…

PRIMO

Primo Analytics and Data Visualization (DV) - analyzing device usage
In this blog post we will be using Primo Analytics Data Visualization (DV) to analyze which devices are being used in Primo discoverySee also these YouTube videos about using analytics with Data Visualization.In the example here we will be creating an analysis of which devices are and are not being used for Primo discovery.  We…

PRIMO ANALYTICS DATA-VISUALIZATION(DV) OBI12

Implement a geo-search widget in Primo
Some institutions maintain records in their catalog which are related to a specific geographic location. Records which represent images, manuscripts, or other material which was either composed in or is pertaining to a location is perhaps best displayed on a map. The Primo customization framework allows us to add a widget which shows the relevant…

ALMA PRIMO

Add Library Hours from LibCal to Primo Using JQuery
Introduction At Piedmont Virginia Community College, students have a link directly to Primo through the college portal.  For this reason, I decided it would be helpful to put our library hours on Primo’s homepage. A programmer at our college had already written some JQuery code to pull our hours from LibCal and display them on…

PRIMO

Using a simple proxy to add CORS support to Ex Libris APIs
Browser security prevents HTTP requests from being made between domains. This "same-origin policy" prevents sensitive information from being revealed to an untrusted party. However, the policy makes it challenging to build JavaScript-based web applications, where AJAX requests are made to a server to retrieve data and display it on the web page. If we want…

ALMA PRIMO

Bulk Export Titles from Primo using Primo Search API
In this example, I use the Primo Search Api to collect all of the database titles from Primo and then export them to a local file.Method: Windows PowerShell Pre-requisites: Primo Search Api Key Primo Search API Doc: https://developers.exlibrisgroup.com/primo/apis/search/GET/AnSF56/p3aKzRujr9pj8qtyT3YiaSYVA/f5643222-bb88-4f3d-b2d6-5029e527c515  Steps taken within PowerShell:1.) Define API Url:$api = '{apiServer}/primo/v1/search?vid={vid}&tab={tab}&scope={scope}&pcAvailability={true/false]&q=any,contains,{query}&qInclude=facet_rtype,exact,{facet}&limit={limit}&apikey={apiKey}'2.) Convert data from JSON:$results = Invoke-WebRequest -Uri $api | ConvertFrom-Json3.) Define source…

PRIMO

Changing the request link in Primo into a button
Use CaseAs a user, I am familiar with online retailers that have buttons for actions like “Add to My Cart” or “Place an Order.” I expect that same experience when I request a book or item in Primo.Goal Modify CSS to transform the request link in Primo New UI into a button in the Primo…

PRIMO

Search and request using OpenURL
This widget takes an ISBN or title, enhances it with metadata from Google Books, then searches Primo using OpenURL.  The book is either found or the patron can place an Illiad request via a General Electronic Service.  We may add an Alma purchase request as a service, also.. This came about as some faculty felt…

ALMA PRIMO

How to use the Primo Search API as a guest in the developer network in 5 easy steps
Preliminary Note:For an example of doing a GET API call for Primo search paste this into your browser or REST clienthttps://api-eu.hosted.exlibrisgroup.com/primo/v1/search?vid=API_GUEST_INST%3AAPI_GUEST_INST&tab=LibraryCatalog&scope=MyInstitution&q=creator%2Ccontains%2Celia%20zafrani%2CAND%3Bany%2Ccontains%2Ccloud%20computing&qInclude=facet_tlevel%2Cinclude%2Conline_resources%7C%2C%7Cfacet_rtype%2Cexact%2Cbooks&lang=en&offset=0&limit=10&sort=rank&pcAvailability=true&getMore=0&conVoc=true&inst=API_GUEST_INST&apikey=l7xx2af7939c63424511946e0fcdc35fe22aIntroduction:This blog includes specific instructions of how to fill in the field parameters of the Primo search API as well as tips of where to take them from for your specific case.The Ex Libris Developer…

ALMA PRIMO GETTING-STARTED HOW-TO-APIS-IN-5-EASY-STEPS