• Avatar Nazzareno Bedini Università di Pisa
  • Analytics API and filters: how to send complex sql filters that work
    In all example links below change {yourApiKey} and {yourPath}  to your real API key and Analytics report path. As described in Working with Analytics REST APIs and How to use an API to send filters and retrieve an Alma Analytics report in 5 easy steps you can get reports sending filters as part of the…

    ALMA ANALYTICS

    PHP class for Alma webhooks
    Instead of using a NodeJS environment (like here) I've delevoped a simple PHP class to create a webhooks endpoint in a LAMP (or a similar) environment: the code is available on GitHub. Here an example to use the class (put it together with the class script in a https web server folder and configure Alma…

    ALMA WEBHOOKS

    Bookmarklet generator to print Alma loans receipts
    Create and customize a bookmarklet (bookmark with JavaScript code) to drag and drop in browser bookmarks toolbar: click on it when the user loans in the Alma fulfillment Patron services page are displayed to view and print the loan receipt immediately.See this blog post for details.

    ALMA

    Bookmarklet to print Alma loans receipts
    Learning from the experience made by developing the browser extensions to print Alma loans receipts (https://developers.exlibrisgroup.com/blog/browser-extensions-to-print-alma-loans-receipts/) I found a better and simpler way to achieve the same thing. Now I use bookmarklets (bookmarks containing JavaScript code) that you can put in your browser bookmarks toolbar: when you display loans on the Alma fulfillment Patron services…

    ALMA PRINTING

    Print Alma loans receipts
    This extension for Alma adds a "Print Slip" button in the fulfillment Patron services Alma page when loans are made and/or displayed.  Compatible with both the Firefox and Chrome browsers. The extensions source code is available on GitHub. For firefox is available a xpi file: drag and drop it on the browser window. For chrome…

    ALMA

    Browser extensions to print Alma loans receipts
    NOTE: Printing via emails is the no longer required. The recommended way to handle printing is to use the online printing functionality instead. For more details see the online help Alma's email-based printing system is from the first impact rather complicated to implement, configure and maintain and usually disliked by the IT departments, so I wondered…

    ALMA PRINTING

    Bulk loans transfer script
    This script extension for Alma permits transferring loans among patrons, maintaining the same date and time of loans and due dates as much as possible. Using the script: python loantransfer.py user_from_id user_to_id Transfers loans from user_from_id to user_to_id python loantransfer.py user_id_from user_id_to -d 30 Transfers loans using 30 days prior to due date as return/reloan…

    ALMA

    Alma set as for analysis script
    This Python script retrieves all the data from an Alma set directly via API or reads it from a field of a CSV file (which could be obtained from an exported set or even from another source) and then constructs the filter with the data and insert it into an analysis. See this blog post…

    ALMA

    A script to use an Alma set as a basis for analysis
    Although it is possible to create a set in Alma from an analysis, for now it is not possible to do the opposite. In Analytics you would need to create an "is equal to / is in" filter with lots of data and doing it manually is very difficult, so I developed a Python script…

    ALMA

    Bulk loans transfer from a user to another user
    Sometimes there is a need to transfer loans among patrons, maintaining the same date and time of loans and due dates as much as possible : for example, if we have a duplicate record for a user and it is impossible to delete the old record because it has loans, it would be nice to…

    ALMA

    Using Alma BIB API in order to retrieve and update call numbers
    we use the Alma BIB API in order to retrieve and update call numbers. Input csv file structure: barcode, old call number, new call number. The PHP script work as following: Read CSV file line by line and for each line: Retrieve MMSid and Holding id using GET /almaws/v1/items?item_barcode={item_barcode} Retrieve XML holding record using method GET…

    ALMA