DataWedge - Set Config with PickList does not work

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.

Hi, please add:

"scanner_selection": "auto",

to your paramList

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Thank you, its working now.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’