Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
My question would be, is it possible to get all the selected values? How to change the threshold value?
Thanks
Hi d.pranskus,
This post should help => Re: Sense extensions : How can I change qSelectionThreshold value ?
Hi @Aiham_Azmeh , is there any way of doing this? Or changing a user setting is the only workaround still today?
Hi,
There are no easy workaround for that...
I saw implementations that get all fileds that have selections => GetField -> getData =>extract all selected values in that field.
I unfortunately couldn't find any example in github, but I think you get the idea.
I hope this helps