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

Use in Custom App

Generate barcode label HTML for use in your own custom app:

  1. Include the code below in any area where server-side scripting is allowed in order to generate & consume the HTML for a barcode label. The function returns an HTML string of the complete barcode label.

var barHelper = new x_yala_bargen.BarcodeGeneratorHelper();
var barHTML = barHelper.getBarcodeHTML(barcodeID, tableName, recID, serverRender);
  • barcodeID: SysID of the Barcode Generator record to use for barcode generation

  • tableName: Table of the record being referenced for barcode generation

  • recID: SysID of the record being reference for barcode generation

  • serverRender: true/false whether to render the HTML server-side (usually true)

PreviousAttach to RecordNextUse in Yansa PDF Generator

Last updated 11 months ago