2 Replies Latest reply on Feb 15, 2019 6:24 AM by Akil Udayakumar

    DataWedge - Set Config with PickList does not work

    Akil Udayakumar

      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.