Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

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

$
0
0

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:

 

ExcludeHierarchyNode.png

 

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:

 

FilterWarning.png

 

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.


Viewing all articles
Browse latest Browse all 4041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>