Skip to Content
0
Feb 04, 2014 at 02:09 PM

Design Studio SDK - how to get the filters of a datasource

33 Views

Hi all,

I am trying to build an SDK component that can display the applied filters of a dataset, much like the standard functionality of the WAD70 Filter Pane component.

I was able to do this using the script-editor:

var A01 = DS_1.getFilterText("0CALYEAR");

if (A01 != '') { TEXT1.setText( 'Year: ' + A01);}

But I like to have this in a more generic component, where I can assign a datasource, and all the filters are returned.

In the SDK data binding section I cannot find a way to get all the dimensions+filters of the datasource.

Does anybody have any ideas how to approach this?

Thanks and best regards,

Arwold