Primo VE: Adding Springshare's LibChat to Primo

Primo VE: Adding Springshare's LibChat to Primo

Can I add my Springshare LibChat widget to Primo VE?
NOTE: The Springshare LibChat widget is part of the commercial Springshare suite of products. You will need to have a subscription or trial access to set up for your library.

If campuses would like to add their Springshare LibChat widget to Primo VE, they should review the documentation in the Ex Libris Developer Network. That will walk you through the part of creating the Widget Hash Identifier for a Slideout in Springshare's system (the Embed Hash Identifier  will not work in this situation). You will need that information to modify the code below to be added to your custom.js file.

Add this code to the custom.js file.  
/************************************* BEGIN libchat widget *************************************/
// Adds the chat slide out
(function() {
  var lc = document.createElement('script');
  lc.type = 'text/javascript';
  lc.src = 'https://v2.libanswers.com/load_chat.php?hash=<Hash_String_Goes_Here>';
  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(lc, s);
})();
/************************************* END libchat widget *************************************/
Replace the <Hash_String_Goes_Here> with the code generated for you by Springshare.
Save the Javascript file in the folder structure and zip it using 7zip.
Then upload it to your view and deploy that view from the Customization Manager.

As always, if you need assistance, please contact PALS staff via the PALS Support Center.

    • Related Articles

    • Primo VE (Discovery) Key Resources Page

      Ex Libris Documentation Ex Libris Documentation Ex Libris Customer Knowledge Center has the latest information on all Ex Libris products, including documentation, knowledge articles, training, and more. Primo VE Documentation PALS uses Primo VE, a ...
    • Primo VE: Adding a message banner

      Can I create a message banner to display at the top of each of my Primo VE pages? If campuses would like to add an optional banner, they just need to add this additional code to the custom.css file. /* LOCAL BANNER */ body::before { content: "Hey ...
    • Updating the Primo VE Feedback Tool Icon

      Ex Libris covers many aspects of their Primo VE Feedback Tool in their documentation, but how to change the Icon is not covered. Libraries have asked about changing the Icon because it often looks too similar to the Chat icons that many libraries ...
    • Broken Link Reporting in Primo VE

      Introduced by PALS in June 2020, PALS Tech Staff (mainly Simon Mai) adapted code shared on the Ex Libris Tech Blog allowing library patrons and staff to report problems linking out to Electronic Collections from Primo VE. Originally designed for use ...
    • Primo VE: Links to MnPALS Libraries

      Institution Name Primo VE URL Alexandria Technical & Community College https://mnpals-atc.primo.exlibrisgroup.com/discovery/search?vid=01MNPALS_ATC:ATC Anoka Technical College ...