Skip to Content
0
Former Member
May 23, 2016 at 08:42 PM

Loading lowest level of a hierarchy into listbox

85 Views

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?