AnsweredAssumed Answered

How to Enable the excluded property for Attributes using C#

Question asked by shakith on May 17, 2017
Latest reply on May 17, 2017 by John Messinger

Hi All,


I have a AF element structure which has multiple elements. Each of these elements has around 180 attributes which it inherits from a Template.

Now the problem is most of these elements do not use all of these attributes, so I wanted to exclude all such attributes which are not being used.


Please can anyone help me with a c# method or code wherein this can be automated?  I have started the code but am unable to find a method which can query and find the attribute.


Basically what I am trying to do is find all the attributes for all the elements where the attribute "TAG" value is "No Data" and make its Parent attribute "Excluded".