Configure the Browser Client to Scan Barcodes
You can configure the CSM Browser Client to enable Users to scan asset barcodes using a mobile device camera.
For example, use a mobile device camera to access the CSM Browser Client to scan asset tags as a barcode reader, and take and upload photos to tickets.
- Code 128: code_128_reader
- EAN: ean_reader
- EAN-8: ean_8_reader
- Code 39: code_39_reader
- Code 39 VIN: code_39_vin_reader
- Codabar: codabar_reader
- UPC: upc_reader
- UPC-E: upc_e_reader
- Interleaved 2 of 5: i2of5_reader
- 2 of 5: 2of5_reader
- Code 93: code_93_reader
Prerequisite: Before Users can scan barcodes from within the CSM Browser Client, you must add the BarcodeScan attribute to the Business Object and add a Field to store the barcode value.
Add the BarcodeScan Attribute
To add BarcodeScan to the Business Object for a Configuration Item:
- In CSM Administrator, create a new or edit an existing Blueprint.
- Select a Business Object, such as Configuration Item > Computer.
- In the right pane, under Structure, select Edit Business Object.
- Select Bus Ob Properties.
- Select
Advanced, then select the down arrow (
) next to General attributes.
- In the Attribute field, enter
BarcodeScan
. - Do one of the following:
- Leave the attribute value blank: the system will use all the barcode reader types specified above.
- Specify the barcode reader types you want to support as a comma-delimited list in the attribute value field: This increases scan reliability.
- Click OK.
Add a Field to Store the Barcode
To add a Field to Store the Barcode:
- Open the Business Object that has the
BarcodeScan
attribute, and then:- Add a new Field or select an existing Field.
- Open the Field Properties window.
- Select
Advanced, then select the down arrow
(
) next to General attributes.
- In the Attribute field, enter
BarcodeScan
. - Click OK.
- Under Appearance, select Edit Form.
- Drag the type of control you want to use onto the Form, then right-click and select Control properties.
- Select Commands > Other.
- Select the
ScanBarcode
command, and add it as the command for a control to launch the barcode scanner. The result will appear in the Barcode Field on the form. - Click
OK.
You can now launch the barcode scanner from a Bus Ob Form.
Once you have set up the
BarcodeScan
attribute in the Business Object and added
a Field to store the barcode, you can use it to enable scanning from a mobile
device.