Can someone help me figure out how to customize the Asset Comparison Table symbol (or duplicate it as a custom symbol) so that it can use the currently selected asset for the display as the search root for the collection?
Here's what I'm trying to accomplish:
-I have a PI Vision display for a building. On this display I have a table showing rollup calculation results for all of the HVAC equipment in that building. This display is element relative, so I am able to change it using the drop down at the top of the page.
-Each building element that is defined in the AF hierarchy has a number of child element representing the individual HVAC equipment.
-OK, back to my display. Under the first table I have placed an Asset Comparison Table that I want to have populated with the child elements of the building (which are the HVAC equipment)
-I have set the Asset Comparison Table as a Collection. Within the Collection, I specify the template for the HVAC equipment and also the Search Root. Let's assume I am in edit mode with Building A as my element for the display, I set this search root to Building A.
-The problem comes when I switch my element from Building A to any other building. All symbols on the display will refresh with the values for the newly selected building, but the Asset Comparison Table still shows the HVAC equipment for Building A due to the Search Root not being dynamic.
How can I make the Search Root auto-update to the selected element??