You might write a script for modifying screens' appearance or behavior depending on barcode symbology.

ISSUE: You may see that the system cannot filter some barcodes which seem DataMatrix type even if you wrote the IF statement for the DataMatrix type in the script.

Read this description and find the solution.



APPLIES TO

  • Point Mobile devices with scanner
  • ivanti Velocity



Cause: GS1 Data Matrix Barcode

The barcode which is not filtered might be a GS1 Data Matrix type. DataMatrix barcodes and GS1 Data Matrix barcodes are too similar to differentiate easily.

But devices with the scanner type the name starting with 'N' (ex. N3603) tells apart the DataMatrix and GS1 Data Matrix symbology for more elaborate delicate decoding.

So when you write the IF statement only for DataMatrix in the script, the system cannot filter the GS1 Data Matrix.


Solution: Filter DataMatrix & GS1 Data Matrix Both

You should write both of them in the IF statement as the following example.

if (allowedType !== type && type !== "GS1Data Matrix" && type !== "DATAMATRIX")

Follow the instructions for each symbology exactly.

  • DATAMATRIX (All uppercase letters)
  • GS1Data Matrix (No space between GS1 and Data)