How-to Use Barcode Content in PDF Templates
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
Ensure you have Yansa's Barcode & QR Code Generator app installed
Navigate to Barcode & QR Code Generator -> Barcode Generators and click 'New' to create a new Barcode Generator.

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.

Create your Label Template
Ensure you have Yansa's PDF Generator app installed
Navigate to Yansa PDF Generator -> Label Templates and click 'New' to create a new Label Template.

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.

Generate your Barcode Labels
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.

Click Next and select a Data Source to merge data into your labels.

Finally, click next and save/attach your label PDF to your desired location!
Last updated