Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3074

Loading lowest level of a hierarchy into listbox

$
0
0

I have a dimension that has a hierarchy that is activated in the initial view.  I want to load just the dimension values (level 3 in the hierarchy) into a listbox using the setItems method like so:

 

DS_FILTER.deactivateHierarchy("ACCOUNT");

LISTBOX_ACCOUNT.setItems(DS_FILTER.getMemberList("ACCOUNT", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 200));

DS_FILTER.activateHierarchy("ACCOUNT");

 

However, ALL levels of the hierarchy get loaded.  I have tried to deactivate the hierarchy first but it doesn't seem to work.

 

Is this possible?


Viewing all articles
Browse latest Browse all 3074

Trending Articles



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