AnsweredAssumed Answered

What is the best way to retrieve any change event made to PI-AF server

Question asked by Noga on Jan 14, 2019
Latest reply on Jan 15, 2019 by Dan Fishman


I have installed a PI-AF server (version: PI-AF-Services_2017-R2-Update-1) and I wish to know -

what is the best way and best AFSDK method I should use in code in order to get events from the PI-AF server about any change made to the PI-AF server.


According to Patrice example on : How to use the PIDataPipe or the AFDataPipe

It seems the AFDataPipe allows me to listen to a specific element attribute on the PI-AF server.


I Also see there is the option to use: AFDatabase.FindChangedItems method, which listens to events on the AFDatabase object.


So, What is the best way to listen to any change in the PI-AF server?

Do I have the option to also listen to change events made not only on Elements, but also on UOM, Contacts, Templates(Or any Library component), event Frames, Management etc..?