Setting context to parent element in PI Vision navigation link

I have an AF hierarchy of Company→Area→Site→Line with associated PI Vision displays for each level. It's easy to set the context when navigating down the tree but I can't see any way to do so on the way back up.

If I'm viewing the Line Detail display for MyCompany → Areaβ → SiteG → Line4, I want the 'Up' link to take me to the Site display for MyCompany → Areaβ → SiteG. But instead, it takes me to MyCompany → Areaα → SiteA. I can't see any way of using the current context to inform the target context when we are going up the hierarchy.

Is it possible to do this, and if so, how?

  • So after a bit of experimentation, I find it's possible by putting a URI Builder attribute into a table, but not by adding a Navigation Link to a symbol?

    There are 2 steps:

    1. In PSE, on the child asset template, create a 'Parent' URI Builder attribute template, pointing to the PI Vision website and the parent display, with a parameter whose key is 'asset' and value is '\\%System%\%Database%\%..\ElementPath%'
    2. In PI Vision, on the 'child' display, drag that attribute onto a table

    It works, but what I wanted was an 'up-arrow' symbol on the top-left of each display and this table looks nothing like that. To make it more useful, I added further links up to the Site and Company:


    image of a PIVision table containing links up the hierarchy to the.png
    But that would still have been better if the links could be assigned to symbols instead of embedded in a table.

    If only the Add Navigation Link feature could accept a URI Builder attribute!

  • And a further option: display the attribute as a Value symbol. Then the link works. Hide the Value, UoM & Date and change the Name to 'Up' or '▲' or whatever.

     

    But at this point, it becomes apparent that the link, whether in a Table or a Value, always opens in a new tab! That make both these solutions invalid for the use case.

     

    The only other possibility is to have a separate web site with a separate sidebar or top-bar for navigation, and host PI-Vision in a iFrame.

     

    The ideal solution is still to enable 'Add Navigation Link' to take its URI from an AF Attribute. Is this in the roadmap at all?

  • Quick update (thanks to Rachel at AVEVA):

     

    It is currently planned to have StringBuilder attributes redirect the display to the same tab rather than a different tab: Have dynamic links that are AF | AVEVATm PI SystemTm Feedback Portal. This should be coming Real Soon Now, maybe this year?

     

    In regards to allowing for that context switch up to the parent element, the following requests that have been made on the feedback site match my intended use. I've voted for them an hope anyone else reading this might also add their voices..