I want to protect my pi vision code from others. Is there is any way to protect it.
Could you elaborate on what you mean by protecting the code? Is it related to the physical files of PI Vision? A corruption issue?
I want to hide my code. I want not to see code from browser inspect. we can do it by disabling right click but i think it is not the correct way. Is there is any other way.
Jinmo Yi Even i want to know that how we can add angular js code or angular function and library to pi vision.
If you have some business logic you want to keep hidden, you should consider creating a WebAPI or WebService where this code runs. Then your custom symbol can call functions within these web services, and execute code which is not visible to everyone.
I have limited knowledge of webAPI and WebServices. If you have any link share with me for my knowledge.
Here's an article describing how to create your own WebAPI: https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-web-api?view=aspnetcore-3.0&tabs=visual-studio
Personally, I've used the Nancy framework for several WebAPI's: Nancy - Lightweight Web Framework for .net
For web services you have several options, as well. Just google it.
Is there any online programming tutorial available for pi vision?
I was looking for this myself on Monday, on behalf of a customer.
Turns out OSIsoft removed the video tutorial of PI Vision extensibility from PI Square. Perhaps Taylor McManus can shed some light on when it'll be back?
Yes the course has been taken down for now while our engineering team reviews the content of the course, the old sample PI Vision symbols, and works to better organize the samples and guidance that we create for our customers. Unfortunately, I don't know how long it might take to return.
In the meantime, we still have our PI Vision Extensibility Guide readily available, which hopefully will be a good resource to anyone working on custom PI Vision symbols.
Sayali, you have mentioned wanting to protect your code - where is your code actually situated within PI Vision? Have you created a custom symbol for PI Vision (symbols are the types of things you can drag + drop onto displays such as trends or values)? Or have you made other alterations to the PI Vision source code?
I don't have access to PI Vision Extensibility Guide.
You will need to have one of your site admins grant you access to your organization's account. Then you will be able to access the myOSIsoft Customer Portal, and all associated downloads and documentation.
If you need assistance with that, please feel free to send me a direct message
Even if you have any sample code please share for understanding purpose
You could try obfuscation, but that will only protect from casual snooping. The only true secure option is indeed a WebService.
Retrieving data ...