PI Vision/Coresight displays on Microsoft Sharepoint
As a Microsoft Sharepoint user, I would like to have the ability to embed PI Vision/Coresight displays on Microsoft Sharepoint, the same way as PI Webparts used to be.
In response to Pal Bergquist, "I have tried to put a vision display on ..."
Yes, this is expected error. Note the url of sharepoint page in which you are hosting Vision screen.
You need to go to AF Server -> Configuration database -> PI WebAPI -> System Configuration
and under that add above noted url into CorsOrigins, and make CorsSupportstoCredentials to True
Please see sample screenshot as follows:
For detailed understanding you can go through CORS video.
The reason of this error is that PI Vision, in turn PI WebAPI, needs to know that its URL has been accessed outside its environment by authenticated client.
I have tried to put a vision display on sharepoint using pageviewer webpart, but I get a message like this :
This content cannot be displayed in a frame
To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame.
In response to Bert Roesel, "Great points on the iframe and what part..."
Hi Bert ,
You can use PageViewer webpart and put your VIsion page link under it to get your Vision display.
I think if you play with url of Vision more depending on AF Structure, you will get desired result.
Great points on the iframe and what particular functionality from webparts would add value.
I want to define AF referenced PIVis displays and dashboards so I can present them in the context of a SharePoint page. Then be able to use a querystring parameter in the page URL or a connected webpart to set the AF target of the PIVis content and secondarily the time range shown.
My standard use case is for multiple locations with multiple production lines that have similar configuration. They are all defined in AF. With PI web parts I can set up one sharepoint page with one display and or dashboard and then use the time range and AF webpart to show information for every location. Super powerful. This can be done in PIVis but I would prefer to keep the user in SharePoint so they also have all the access to documentation and collaboration provided through sharepoint.
Does that provide more clarity on the ask and what the value would be?
Yes, the key question here is what you would expect from "same as PI WebParts". Sharepoint webparts have functionality to assemble webparts into webpart pages, e.g. combining the timerange and trend webparts. What would you expect from the integration into Sharepoint?
Have you considered embeding the Coresight display in Sharepoint as an IFrame. This is our current method.
Particularly if it includes support for connections and or query string parameters