AnsweredAssumed Answered

Elements not returning attrubutes

Question asked by SteveFrase on Jan 15, 2019
Latest reply on Jan 17, 2019 by SteveFrase

I am working on an app that is similar to the PI Explorer in order to be able to get my head around the hierarchy.

I am comparing my app with the PI Explorer app.

So far, so good.  I have been able to retrieve AFElements just like in the treeview in the PI Explorer.

However, when I click on an element in the treeview, I see a list of attributes that are then shown in the listview on the right.

In my code, when I try and get the attributes from the element, there are ALWAYS 0.

I don't know what I am missing.

Anyone have thoughts on this?

Outcomes