Hi,
I am trying the implemented Barcarole Scanner in one of my MDK page. I am using BarcodeScannerAction and in onSuccess I am calling BarcodeScanResult.js
BarcodeScanResult.js
export default function BarcodeScanResult(context) {
var actionResult = context.getActionResult('BarcodeScanner');
let pageProxy = context.getPageProxy();
if (actionResult) {
pageProxy.setActionBinding({ 'Result': actionResult.data, });
return context.executeAction('/DemoSampleApp/Actions/ShowScanValueMessage.action');
}
}
ShowScanValueMessage.action is a tostAction
{ "Message": "Scan value is {Result}", "_Type": "Action.Type.ToastMessage" }
But this action is not executing.
Please let me know am I doing anything wrong there.