DataWedge - Set Config with PickList does not work

A Akil Udayakumar 3 years 6 months ago
36 3 0

Hi,

I'm trying to change the picklist option programatically in a cordova app using intents. The  relevant code is below

var paramList = {  "picklist": "2" //enable software picklist}; var profileConfig = {      "PROFILE_NAME": "my_profile_name",      "PROFILE_ENABLED": "true",      "CONFIG_MODE": "UPDATE",      "PLUGIN_CONFIG": {        "PLUGIN_NAME": "BARCODE",        "PARAM_LIST": paramList      }    };window.plugins.intentShim.sendBroadcast({    action: 'com.symbol.datawedge.api.ACTION',    extras: {      "com.symbol.datawedge.api.SET_CONFIG": profileConfig,      "SEND_RESULT": "true"   }  },    function () { },    function () { } );It works with updating the scanner selection but not the picklist or the illumation_mode , Im using a TC25 running datawedge 6.7

Thanks.

Please Register or Login to post a reply

3 Replies

D Daniel Sterchi

.

Y Yanis Dalabiras

Hi, please add:
"scanner_selection": "auto",
to your paramList

A Akil Udayakumar

Thank you, its working now.

CONTACT
Can’t find what you’re looking for?