-
Re: Hello, I am new to PI dev. Is there a way to using ASP.net to use PI web API to create a treeview and then link processbook using Coresight?
pthiviergeFeb 1, 2016 4:04 PM (in response to ClubDev)
I suggest that you start by having a look at our video training, the page points to many different resources ( whitepaper, code samples, etc).
-
Re: Hello, I am new to PI dev. Is there a way to using ASP.net to use PI web API to create a treeview and then link processbook using Coresight?
bpayneFeb 1, 2016 4:12 PM (in response to pthivierge)
Here is the link to an informative white paper on developing with the PI Web API using different languages including ASP.net MVC
-
-
Re: Hello, I am new to PI dev. Is there a way to using ASP.net to use PI web API to create a treeview and then link processbook using Coresight?
Marcos Vainer LoeffFeb 2, 2016 12:56 PM (in response to ClubDev)
Hello,
There basic two ways to do that:
- Use PI Web API and develop the front-end of your web application using HTML5/CSS3/JavaScript
- Use ASP.NET MVC with PI AF SDK then you would developer the client and the server-side from your application. You can use ASP.NET MVC with PI Web API as Butch has described but the performance wouldn't be the same. Therefore, only use ASP.NET MVC with PI Web API on the server side if you have a good reason to do so.
Concerning the client side, we don't provide styles or JavaScript libraries for you to use but there are a lot of public libraries that you can use in order to display nice graphics. What is common though is to embed PI Coresight displays in your web app by using iframes.
Hope it helps!
-
Re: Hello, I am new to PI dev. Is there a way to using ASP.net to use PI web API to create a treeview and then link processbook using Coresight?
Roger Palmen Feb 2, 2016 1:26 PM (in response to ClubDev)1 of 1 people found this helpfulFor the CoreSight part of your question: you can open a specific ProcessBook display in CoreSight:
If the path to the PI ProcessBook display file is\\fileServer\Imports\Dealer\Customer2\ChemicalPlant\DistillationProcess.svg you can open it using the following URL:
https://webServer/Coresight/#/PBDisplayName/Dealer/Customer2/ChemicalPlant/DistillationProcess
The path required here is the "Dealer\Customer2\ChemicalPlant\DistillationProcess" as you need to append that to the regular CoreSight URL.
And set Kiosk Mode through adding: ?mode=kiosk