How-to Create Barcode Labels

Creating pages of barcode labels for printing is a great way to consolidate your asset management workflow into ServiceNow, printing custom labels for laptops and other devices in your organization.

See below for a step-by-step example of how to create your own barcode labels.

Create your QR/Barcode Content

  1. Ensure you have Yansa's Barcode & QR Code Generator app installed

  2. Navigate to Barcode & QR Code Generator -> Barcode Generators and click 'New' to create a new Barcode Generator.

Barcode Generator w/ Barcode Part Related List
  1. After setting the basic settings of the Barcode Generator and saving the record, you'll need to create a new Barcode Part via the related list at bottom.

Barcode Part

When creating a Barcode Generator for use in a PDF Template, we recommend making it as simple as possible - a single Barcode Part that is the barcode or QR code component with no added borders or padding. You can add additional text/HTML content within your PDF Template.

Create your Label Template

  1. Ensure you have Yansa's PDF Generator app installed

  2. Navigate to Yansa PDF Generator -> Label Templates and click 'New' to create a new Label Template.

Label Template w/ Merge Maps Related List
  1. After setting the basic settings of the Label Template and saving the record, you'll need to create new Merge Maps via the related list at bottom. For the QR/Barcode content, that Merge Map will look similar to the example below. Note how the Merge Map is embedded in the 'Template HTML' of the Label Template above.

QR/Barcode Merge Map

Generate your Barcode Labels

  1. Use the Generate PDF button in the Label Template header to create your labels. First, you'll see the 'un-merged' version of your labels.

To make it simple for your users to generate PDFs where & when they need, you can customize & place the Generate PDF button & UI on any form.

Also, you can automate the generation of PDFs via Flow Action or Script.

Un-Merged Labels
  1. Click Next and select a Data Source to merge data into your labels.

Merged Labels
  1. Finally, click next and save/attach your label PDF to your desired location!

Last updated