0 Replies Latest reply: Oct 25, 2017 4:18 PM by Chetan Nandrajog RSS

    Alternate state issue with the latest qliksense version

    Chetan Nandrajog

      Hi,

       

      We just upgraded to latest version of qlik sense (September 2017) and i have started facing a wired issue with qliksense.

      Below are the steps we are doing in the application:

      1) We are creating two alternate states using qlik.app.addAlternateState(qStateName)

      2) We have a set of filters stored that we want to apply on each state.

      3) For applying filters on each state in a for loop we are doing the below steps

           a) Clearing all the filters from that state using qlik.app.clearAll(lockedAlso, state)

           b) Grabbing the field reference of that particular state  using  filter = app.obj.app.field(filterName, state)

           c) Applying the filter by using filter.selectValues(values, true, false)

       

       

      The above a,b,c steps are in a for loop for each state . The selectValues method for the 2nd alternate state is always failing.

      For example , I am creating two alternate states say x and y. And if i perform all the above steps the y will fail at step c. And if i create y and x then x will fail at step c.

      Below id the qlik sense error from the network tab:

       

      {jsonrpc: "2.0", id: 75, error: {code: 15, parameter: "Failure", message: "Request aborted"}}

      error:{code: 15, parameter: "Failure", message: "Request aborted"}

      code:15

      message:"Request aborted"

      parameter:"Failure"

      id:75

      jsonrpc:"2.0"

       

       

      Thanks !!