What function/method I can use from AF-SDK to achieve "Rest to template" functionality in PI System Explorer

Discussion created by jamliu on Jan 17, 2012
Latest reply on Feb 16, 2012 by cmanhard

Hi all,


    I am trying to do a simple code to update an element's attribute value, and eventually update the PI alarm tag which references to this attribute.


    In the PI System Explorer, I noticed that I had to "Reset to template" and then "Create or Update PI point", after I updated the attribute value, so the new value can be updated to the PI tag after all. (This element was created through the custom element template.)


   But not sure what function/method from AF-SDK that I can use to achieve the "Reset to template" functionality.


   Any idea is appreciated. Thank you.