1 Reply Latest reply: May 7, 2018 2:02 AM by Aiham Azmeh RSS

    app.selectionState OnData handler returns only 6 selections

    Darius Pranskus

      Hi

      I am using the following code to get my current selections in a mashup:

       

      const selState = app.selectionState();
      const listener = () => {
         console.log('Selections', selState);
      }
      selState.OnData.bind(listener);
      

       

      When I make selections in the mashup, I can see that the listener is fired.

      My problem is that it returns only 6 values, even there are more values selected

      Following is the console output screenshot (as you can see there are 8 values selected, but the selectedValues array has total 6 values). There is a property named qSelectionThreshold, which is always 6 and I am unable to change it.

      Capture.PNG

      My question would be, is it possible to get all the selected values? How to change the threshold value?

       

      Thanks