KOMARINA Member since 2012 85 posts
Posted: January 20, 2020
Last activity: January 20, 2020

How to get Property Name dynamically from a UI?


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.
Pega Platform User Interface
Share this page LinkedIn