Barcode & QR Code Generator
HomeBlogDocsContact
  • Overview
    • Try It!
    • Introduction
    • Key Features
    • Competitive Matrix
    • Industry Use Cases
      • IT Asset Management (ITAM)
      • Field Service Management (FSM)
    • Videos
    • Reviews
  • Technical Docs
    • Getting Started
    • Building a Barcode Label
      • Barcode Generator
      • Barcode Parts
    • Using a Barcode Label
      • Display from Form/List
      • Display on Service Portal or Employee Center
      • Display in Email Notification
      • Print
      • Save to Disk
      • Attach to Record
      • Use in Custom App
      • Use in Yansa PDF Generator
    • Printing Pages w/ Multiple Labels
    • Silent Printing
    • Client-side vs Server-side Barcode Generation
    • Optimizing Barcodes for Scanning
    • Barcode Tester
    • General Settings
    • ATF Test Suite
    • Logging
    • Troubleshooting
    • Frequently Asked Questions
Powered by GitBook
On this page
  1. Technical Docs
  2. Using a Barcode Label

Display in Email Notification

PreviousDisplay on Service Portal or Employee CenterNextPrint

Last updated 11 months ago

Mail Script - Display a barcode label within an email notification:

  1. Visit Barcode & QR Code Generator -> Mail Scripts in the left nav. Locate and open the Email Script titled 'test_barcode_mail_script'. Following the instructions in the commented code, update code values to accommodate your needs. Insert and Stay to create a new record.

  2. Visit Barcode & QR Code Generator -> Notifications in the left nav. Locate and open the Notification titled 'Test QR/Barcode Label in Email'. Study the 'Message HTML' in this Notification to understand how to use the Email Script properly. You can upate this notification to accommodate your needs, and then Insert and Stay to create a new record. Or, you can simply utilize the Email Script in your existing notifications.

Due to HTML Sanitization in ServiceNow, barcode content will not display for in-platform email previews. However, the sent email will contain the barcode content.

All options to display barcode labels in email notifications utilize server-side barcode generation. The resulting email content is HTML/SVG code embedded within the email.

Test Notification Content w/ Barcode Label