Accessing Attributes from AFTreeView

Discussion created by PIAdminUnison on Aug 4, 2010
Latest reply on Aug 10, 2010 by hanyong

Hi All,


I have an AFTreeview loaded with the elements I want to see and their associated attributes.  What I am trying to accomplish is when I click on the attributes themselves, either an AF UI or a custom display shows the attributes value with timestamp and UOM.  I tried to use the AFtreeview's selected node but that seems to default to the element only and doesn't tell me which attribute I have selected.  I then tried to parse the ToolTip to get the selected attribute, but these seems to me to be the wrong way to approach it.  Once I have the values displayed (i.e. - GetValue().Value), I also want to edit the value if it is allowed.  I am doing this in VB.Net 2008 and using AF 2.1.x Any suggestions?


Thanks in advance,