ctm.openQRScanner

The method of JS Bridge functionality is intended to open the CT Mobile barcode scanner.

Query format

ctm.openQRScanner(autoClose, fieldName, objectName)
  • autoClose is used to close the barcode scanner if the value is true (by default, optional attribute);

  • fieldName is the API name of the field to find values that match values from the barcode scanner;

  • objectName is the API name of the object with records to find matches.

Query Example

ctm.openQRScanner({"autoClose": "true", "fieldName": "ProductCode__c", "objectName": "Product__c"});
``