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

How GetMembers works on Hierarchy

$
0
0

Hello Experts,

 

I am working on a dimension filed with a hierarchy assigned. I have set the level of hierarchy in the Edit initial view as level 01.

In edit initial view it is coming just fine, showing the Level 01 object only.

When I am assigning the data source to a cross tab or to any chart, there also it is coming with Level 01 objects only.


But, when I do a getmembers on that dimension, it is only taking the Leaf level objects.

 

Here is the sample code --

var vlist = DS_2.getMembers("/CPMB/H5DQIMI", 100);

vlist.forEach(function(element, index) {

     APPLICATION.alert("External Key - " + element.externalKey +   );

}


Viewing all articles
Browse latest Browse all 4041

Trending Articles



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