Fields – Barcode

This field is used to generate and display a barcode. A barcode requires a data source to specify a value for the barcode which can be in the form of a static value, TSQL, or XML.

This is how a barcode will be displayed:

A screenshot of a barcode as displayed in trellispark, showing the blue label and a field description above the barcode.

Here is an example of the Field Definition:

A screenshot of the creation process for a barcode in trellispark.

Below are the fields and their purpose:

  • Barcode Type – A dropdown list containing various barcode types.
  • Display Checksum– Determines if a checksum calculation will be displayed when available.
  • Display Text – Determines if the text below the barcode will be visible.
  • Height (px) – Determines the height of the barcode in pixels. This field is optional and can be left blank.
  • Width (px) – Determines the width of the barcode in pixels. This field is optional and can be left blank.
  • Colour– Determines the colour of the barcode. Any valid CSS, HEX, or RGB value is accepted.
  • Background Colour – Determines the background colour of the barcode. Any valid CSS, HEX, or RGB value is accepted.
  • Value Type – Determines the data source for the barcode.
  • Static Value – Only available when the Value Type is Static. Allows you to input a static value for the barcode.
  • Stored Procedure – Only available when the Value Type is TSQL. Allows you to input a TSQL Stored Procedure to call that will return a value for the barcode.
  • XML Element – Only available when the Value Type is XML Element. Allows you to specify another field on the concept and pull its value for the barcode. Make sure the XML Element you select actually has a value otherwise the barcode will not load.
Updated on January 3, 2023

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support

Leave a Comment