Get Element based off ElementTemplate and Attribute Value

Discussion created by PIAdminUnison on Oct 21, 2014
Latest reply on Oct 23, 2014 by pcombellick

Hi All,


I am looking at the new PI WEB API and I have a question. I have in my AF database a whole pile of transformers base on a transformer template. One of the attributes of the template is called "GIS ID" and this attribute value should be different for each of my transformers and is indexed. So here is my question: How do I search using the PIWebAPI for a particular transformer with a "GIS ID" of 112005? Is there a way to search for an element with a attribute value set to a particular value, or do I have to get all my transformers based on the ElementTemplate and then do a linq query on the particular attribute value?


Any help would be most welcome. :-)


Thanks, Jimmy