• Avatar Duncan Wilson Salford University
  • Script to Remove an Item from a Large Set in Alma
    Removing an item from a large set in Alma can be difficult if you need to navigate through a large number of records. This web tool will allow you to remove an item (one at a time) without the need to wade through lots of records.After submitting the set ID and a barcode, the Manage…

    ALMA

    Using JQuery and JavaScript in Analytics
    When you’ve exhausted all the functionality of the dashboards in Analytics it is possible to extend it further and get over some of the inherent limitations by adding in JQuery or JavaScript. For example, you can add to reports from different subject areas, but what if you want another calculation to be done based on…

    ALMA

    Using Alma APIs for displaying overdue laptops
    Our library loans laptops with an item policy of 24 hours. We wanted to display laptops borrowed from the previous day, in order to show those that could go overdue. We use the Bibs API to retrieve data on laptops that were overdue based on the due date and time, then we present this information in…

    ALMA

    Change the Number of Results Loaded in Primo NUI
    The default for the number of results loaded in the Primo NUI is 10 records. To increase this then this code can be used in custom.js. app.component('prmExploreMainAfter',{ bindings: {parentCtrl: '<'}, controller: function($scope){ var vm = this; //adjust these values to control the number of results you want to display vm.parentCtrl.searchService.cheetah.PAGE_SIZE = 50; vm.parentCtrl.itemsPerPage = 50;…

    PRIMO

    Automatically Activate A Search After Changing Search Scope
    The default behaviour of the Primo new UI forces users to click on the search button after changing the search scope. This piece of Angular/JavaScript changes the behaviour so that the search results are reloaded after changing scope from the drop down menu automatically Code: //component to activate search when search scope changed updated 09/11/17…

    PRIMO

    Changing Behaviour of Sign in Label on Primo NUI
    The following JavaScript code was developed and added to the custom.js file in the customization package for the new Primo UI. The function acts to change the behaviour of the Guest label and replace it with a sign in link by removing the text 'Guest' and the panel that appears when hovering over the label.…

    PRIMO

    Adding Javascript to Primo New UI
    A variant of JavaScript that is compatible with Angular JS can be used to add messages to the front end of the new Primo UI. The function below can be added to the custom.js file and because the file is loaded only once needs to be called every 2 seconds to ensure it has loaded…

    PRIMO