cancel
Showing results for 
Search instead for 
Did you mean: 

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

0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Arjun_KT
Participant
0 Kudos

Hello Arwold,

Just check whether this link will help or not...

Regards

Arjun KT

0 Kudos

Hi Arjun KT,

Thanks for your reply. I tried this already, but with these databound types it is not possible to figure out if a filter has been set.

Best regards,

Arwold