Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello!
Suppose I have this:
var r = app.GetFieldAsync(selection.fieldname).Result;
r.SelectValuesAsync(selection.fieldvalues, false, true).Wait();
If there are values which are not possible to be selected, what does the engine do? It reduces the selections to the possible ones?
r.SelectPossibleAsync(true).Wait();
But if I just select all the possible values from that field and I get the field again and get its datapages / cells, i would obtain a list of possible values to be selected in that field?
My question is: do I have to inner join a given list of selection values with the output of SelectPossible on that field to eliminate the selections from the given list which are not possible?
Late response, so don't know if this question is still relevant for you, but the engine uses some heuristics to choose how to behave when selections are made. I don't know if this is formally documented anywhere but, but I think the heuristics are something like this:
I can recommend creating an app with the Ctrl+00 script and play around with it. Add a filter pane with for instance the dimensions Dim1, Dim2, Dim3 and Alpha to see how it behaves with different combinations of selections.