Scan, Pack and Ship > Scanner Input > Scanner Context Configuration Object Members
  
Scanner Context Configuration Object Members
You can update existing barcode scanner contexts or add new scanner contexts. The following table lists the members of a scanner context configuration object.

Scanner Context Configuration Object Members
 
Member
Function
scanContextID
The ID of the scanner context.
elementId (optional)
The underlying JavaScript element that this scanner context places data into.
displayText
The label displayed for the scanner context in the context selection list.
Msg
The message displayed in the barcode message field on processing a barcode input using this scanner context. Any reference to {0} is replaced with the actual barcode input value.
nextScanContextId (optional)
The ID of a scanner context. On processing a barcode value using this context, the barcode context field is set to this scanner context, which is then used for interpreting the next barcode input.
packRequired (optional)
A true/false flag that indicates if a pack must be selected or opened before a barcode value can be processed using this context; for example, Pack type.
dataType (optional)
The data type used to interpret the barcode input value. The default is string.
handlerParam (optional)
The parameters to be passed to the handler function in addition to the default callback function and barcode value.