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)

Generate barcode part SVG/HTML for use in your own custom app:

circle-info

This method generates SVG/HTML code for a Barcode Part, not an entire Barcode Generator label.

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

var barHelper = new x_yala_bargen.BarcodeGeneratorHelper();
var barPartSVG = barHelper.getBarcodeSVG(barPartID, tableName, recID);
  • barPartID: SysID of the Barcode Part 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

Last updated