4 Replies Latest reply: Dec 8, 2017 3:21 AM by Shchegoleva Ulyana Alekseevna RSS

    selectValues method ignores state

    Shchegoleva Ulyana Alekseevna

      Hi all,

      I try to use field api. I have array of string values, field name and state name.

      My function in extension is something like this:


      function selectByValue(fieldname,value,state){

           var app = qlik.currApp();

           var field = app.field(fieldname,state);




      In result. I see all selected values in a field and it ignores state.

      How do i use selectValues with state?