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
  • Client-side Barcode Generation
  • Server-side Barcode Generation
  1. Technical Docs

Client-side vs Server-side Barcode Generation

Yansa Labs' Barcode & QR Code Generator is the only barcode solution for ServiceNow that can create our entire library of barcodes server-side, enabling lights-out automation of your barcode processes. However, we also offer the option of client-side barcode generation when desired. This flexibility makes our solution uniquely suited to meet the vast majority of barcoding use-cases on ServiceNow.

There may be times when client-side or server-side generation will be the optimal solution. It is helpful to understand the pros and cons of each approach.

Client-side Barcode Generation

Client-side generation requires the barcode to be generated by a web browser. Due to the power of modern browsers, barcodes can be generated very fast. However, because a browser is necessary, a logged-in user must necessarily perform an action to generate the barcode. This is optimal for in-platform display of barcodes or for on-demand barcode generation workflows. However, it makes automation difficult or impossible.

Pros
Cons

Fast

Cannot be easily automated

Requires browser & logged-in user

Server-side Barcode Generation

Server-side generation occurs completely within the ServiceNow instance, and therefore requires no browser or human intervention. This allows lights-out automation of processes requiring barcodes and easier bulk-generation of barcodes. This is optimal for use-cases requiring email or background generation of barcodes for attachment to records. Because ServiceNow isn't optimized for barcode generation, certain complex barcode types may take longer to render. However, we've optimized the rendering process and included caching to minimize latency.

Pros
Cons

Can be automated

Slower, depending on barcode format

Can be performed in bulk

No browser or user needed

PreviousSilent PrintingNextOptimizing Barcodes for Scanning

Last updated 1 year ago