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.

ProsCons

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.

ProsCons

Can be automated

Slower, depending on barcode format

Can be performed in bulk

No browser or user needed

Last updated