Skip to Main Content

Alma Analytics Resource Guide

This guide covers how to use the Alma Analytics platform to produce robust reports. Included are instructions on accessing the Oracle-based service as well as how to use its menu driven service to build custom reports.

Add Barcode Font to Analytics

by Hisham Makki on August 25th, 2023 in Analytics | 0 Comments

Add Barcode Font to Analytics

*Add Barcode Font to Analytics*

Author: Hisham Makki, Assistant Director for Data Quality.
Required knowledge: Basic Analytics; HTML.

Contents:

 

 
 
Unfortunately, Alma Analytics does not come with a built-in barcode font. However, we have been asked by some libraries in our consortium to find a way to add barcode fonts on Alma Analytics. After investigating, I found that it is possible to add a barcode font using the custom CSS style feature. But, with every work around come few issues. One of these issues is you cannot export the barcode font to Excel or PDF files. Yet, we still can print the barcode. Here is how:

 

Add Barcode to An Analysis

  • First Drag a barcode column to an analysis.
  • Change the barcode column formula and add an asterisk to the beginning of the barcode and an asterisk to the end of it. You can use the concatenation operator  ||  like this:
    '*' || "Physical Item Details"."Barcode" || '*'  or CONCAT ('*', CONCAT ("Loan Details"."Barcode",'*' ))    

Change Column CSS:

  • Click on Results then click on the edit icon.
  • Click on the gear icon then click on Format Value from the popup menu.

     

  • Expand "Custom CSS Style Options (HTML Only)"

     

  • Check "Use Custom CSS Style" and add the following line:
    font-family: 'Libre Barcode 39 Extended Text', cursive;font-size:50px;

     
  • Check "Use Custome CSS Class" and add the following line:
    <Head> <link href="https://fonts.googleapis.com/css2?family=Libre+Barcode+39+Extended+Text&display=swap" rel="stylesheet"> <STYLE TYPE="text/css"> .barcode39 {   font-family: 'Libre Barcode 39 Extended Text', cursive;   font-size: 40px; }  </STYLE>  </Head>

 


 Add Barcode to A Dashboard Analysis

I found that the barcode font does not work if added to a dashboard unless we remove the CSS Class. So, if you want to add your analysis to a dashboard, you need to uncheck the "Use Custom CSS Class".
 

Resources:


 Add a Comment

0 Comments.

  Subscribe



Enter your e-mail address to receive notifications of new posts by e-mail.


  Archive



  Subjects



Analytics
Reports
  Return to Blog
This post is closed for further discussion.