Skip to Content
0
May 07, 2015 at 05:20 AM

What is the correct syntax for applying exclusion of a text hierarchy node using the setFilterExt() method?

322 Views

Hi,

I am trying to exclude a text hierarchy node with the data source setFilterExt() method as per the Input String syntax rules described below:

I had assumed I could combine the exclusion operator '!' with the text hierarchy node syntax described above, applying a similar approach to that described in this response to Apply Exclusive Filter. Listed below is the syntax I have applied:

DS_2.setFilterExt("ZAIRLINID", "!+ZAI_AIRLINE_GROUP_01(0HIER_NODE)");

However, this results in the following warning message:

On the other hand, if I script for inclusion as follows:

DS_2.setFilterExt("ZAIRLINID", "+ZAI_AIRLINE_GROUP_01(0HIER_NODE)");

the filter works as expected and shows only the specified node. This suggests to me that I have defined the correct text hierarchy node syntax

but the exclusion operator is not right.

Any ideas about the correct approach would be appreciated.

Thanks,

Mustafa.

Attachments

FilterWarning.png (24.6 kB)