Using AF SDK to "Create or Update Data Reference"

Discussion created by gfisher on May 24, 2010
Latest reply on Sep 27, 2010 by PIAdminUnison

After you have created a new element based on an Element Template that has Attributes with the "tag creation" checkbox enabled, a user can open PI System Explorer and right click on the new element to "Create or Update Data Reference".  Clicking this button will either update the values in System Explorer or (If the tag does not exist in PI) create the tag.


How do I do the above (Create or Update Data Reference) using the AF SDK?


I ask because I want to automagically create about 50 new tags in PI for every new element I add to AF.