Question

41
Views

How to get Property Name dynamically from a UI?

Hi,

Greetings. i have a requirement to get the Property Name dynamically whether it is on top level or embedded or within a list, i am trying with

PublicAPI tools = null;
PRThread thisThread = (PRThread)ThreadContainer.get();

if (thisThread != null) {
tools = thisThread.getPublicAPI();
}

String x = tools.getActiveName();

But it gives me an error (i am trying to call above within an activity and activity is called on Change of the property in a UI) Any help is appreciated

The method getActiveName() is undefined for the type PublicAPI
Compile failed.