There has been quite a bit of talk about Asset Barcode Scanning but lets back up a little. How do you generate barcodes?
Barcodes are basically a “font” that you can apply. So anywhere you can use fonts, you can convert a field’s entry to a bar code.
Sound easy right? It’s a little tricky with Ivanti Service Manager as you have limited access to fonts.
You can use an HTML field with that utilizes the Google Font API, for example:
<!DOCTYPE html>
<html>
<head>
<link href=’https://fonts.googleapis.com/css?family=Libre Barcode 39′ rel=’stylesheet’>
<style>
body {
font-family: ‘Libre Barcode 39’;font-size: 22px;
}
</style>
</head>
<body>
<h1>Libre Barcode 39</h1>
<p>$(YOURFIELDNAME)</p>
</body>
</html>
OR
<!DOCTYPE html>
<html>
<head>
<link href=’https://fonts.googleapis.com/css?family=Libre Barcode 128′ rel=’stylesheet’>
<style>
body {
font-family: ‘Libre Barcode 128’;font-size: 22px;
}
</style>
</head>
<body>
<h1>Libre Barcode 128</h1>
<p>$(YOURFIELDNAME)</p>
</body>
</html>
The result will look like this:

Of course replace $(YOURFIELDNAME) with the field holding the value you want to display as a bar code, for example $(AssetTag)
Finally you need to either create a quick action button that pastes the html code into an HTML field or you can use business rules to update the html field.
Last but not least, you could use url injection and open a new tab or workspace with the resulting url, for example:
https://fonts.google.com/specimen/Libre+Barcode+128?preview.text=a19ConsultingIvantiPodcast
Notice the preview.text=, replace a19ConsultingIvantiPodcast with your field, $(AssetTag) for example.
Of course you will need to find a site that generate a very clean results or host your own.

Q & A. Separate Ivanti Service Manager (ISM) instance for AP? – Independent ITSM Podcast covering Ivanti Service Manager ISM HEAT Latest Solutions & Best Practices
- Q & A. Separate Ivanti Service Manager (ISM) instance for AP?
- Do you really need a Project Manager for your Ivanti Neurons for ITSM/ITAM Implementation?
- What makes a great Ivanti HEAT Neurons Administrator/Developer/Consultant?
- Ivanti Developer or Consultant?
- Is Ivanti a Professional Services Provider?
You must be logged in to post a comment.