Skip to Content
0
Former Member
Jun 08, 2011 at 09:27 AM

Hierarchy Filter Item not being refreshed

36 Views

Hi

I have a web template with an Analysis Item & 2 Hierarchy Filter Items.

By default (initial loading) :

- Hierarchy Filter Item 1 is assigned to the BMC characteristic from dataprovider 1

- Hierarchy Filter Item 2 is assigned to the SITE characteristic from dataprovider 1

- Analysis Item 1 is assigned to dataprovider 1

In addition, there is a menu item, with different entries relating to different queries. When a particular menu item is chosen, each of those above objects need to be changed to refer to dataprovider 2 (different query).

I can set the commands to SET_ITEM_PARAMETERS, and change each one of them to point to dataprovider 2.

However, only the Site hierarchy filter and Analysis item seem to change. The BMC hierarchy filter item is not refreshed.

If I click on one of the nodes in the Site hierarchy filter, then the BMC hierarchy filter is refreshed and shows the correct BMC values.

I have tried the following alternate solutions:

1. Instead of using SET_ITEM_PARAMETERS, I have simply changed the query to which DP1 points. Still only the analysis item and site hierarchy are changed.

2. I have assigned DP2 to the analysis item and both hierarchy filter items as the default dataprovider, and can confirm that when the template is loaded in this manner, both site and BMC hierarchy display the correct data. Seems that only when I try to change that the BMC filter is not updated.

3. I have tried to use other commands, like removing filter values from the dataprovider - still doesn't refresh the BMC hierarchy.

4. I have run the query on it's own, and can confirm that the hierarchy is active and available and displays correctly when used.

Is it a problem having more than 1 hierarchy filter item in a web template?

Cheers,

Andrew