Discussion

20
Replies
24772
Views
ChakriP8 Member since 2014 62 posts
Accenture
Posted: 5 years ago
Last activity: 3 years 9 months ago
Closed

JSP Tags - Access a clipboard property using PEGA Engine API

I need help with finding or accessing a property on a clipboard page using JSP tags from a control.

 

I have a property (P) and a control associated with that property. The control gadget has JSP tags in the HTML tab of the control which display the value to a user on a portal.

I can access the Property (P) inside of my control using String strPropP = tools.getActiveValue();

My requirement is to gather another property from the same class and same clipboard page and then need to compare this Property (P) which i can access and display the result of the comparison.

 

How can I access another property Q on the clipboard page from within this control?

I tried several methods including 

String strPropQ  = tools.getActive().getProperty("Q").getStringValue();

Code compiles withour error but fails at runtime.

 

It fails because I am unable to GET the property Q from the clipboard.

Any ideas on how to access and/or retrieve a clipboard property

1. by using the tools. API and/or

2. from within a control gadget.

User Interface
Moderation Team has archived post
Share this page LinkedIn