1 of 2 people found this helpful
I will recommend you to create a master display using a symbol collection to filter out the assets that you want. These assets should be based on a template.
After that, you can configure navigation links to another details display that is built for one of the assets which can set the asset context of that display.
On the details display, you can have button to link back to the master display for a seamless experience.
Therefore, in total, you will have two displays.
1. Master display with a collection of the assets that you want to monitor. (multi asset)
2. Details display with the attributes of the particular asset that you want to monitor. (single asset)
See the section under 'Passing the current asset as context' for more details.
thanks for your reply, but we already have the solution of switching between a master display and the detail display. But the problem is, when you are looking e.g. at the details of wind turbine 1 and you want to look at the details of wind turbine 2, then you have to go back to the master display and select wind turbine 2.
We would like to have a solution where you can switch between the assets within the detail display.
Perhaps I did not well understand your answer, but I have the impression that it pointed towards the solution I described in my first paragraph.
Actually we would like to have the possibility for the client to the same thing as in the "Asset:" drop-down menu, but in form of next- and previous-buttons in the detail display.
Thanks a lot for your time,
I am currently looking the example shown in
and I am now changing manually the "DataSources" entry by
displayProvider.getSymbolByName(sym).DataSources = displayProvider.getSymbolByName(sym).DataSources.replace(assetList[curAssetIdx], assetList[prevAssetIdx]);
Now there remain only two questions:
1. How do I force the window to refresh with the datasources?
2. Is there are documentation for the methods and variables contained in displayProvider? I can get a look at the list via
but it would help me as well to have a look at the reference on this properties.
Thanks a lot in advance,
Ok, I found it, I am doing the refresh via
I'm glad you were able to solve your problem. There is no documentation for the injected services. I usually determine what's available to me through the same route you did ( console.log )
Alternatively, you can use an asset comparison table with navigation links for setting the current asset context of the display. This will work in kiosk and hidetoolbar mode.
The benefits of this approach is that your users can just select the asset that you want from the list in the asset comparison table rather than having to click next multiple times to get to the desired asset. Imagine a scenario where you have 100 wind turbine and you want to get to turbine #80 from turbine #10. This will save your users 70-1=69 clicks!
You also do not have to maintain an assetList yourself since PI Vision will do this automatically for you.