Discussion

20
Replies
25232
Views
Chakri Payyavula (ChakriP8)
Accenture

Accenture
US
ChakriP8 Member since 2014 65 posts
Accenture
Posted: June 5, 2015
Last activity: November 29, 2016
Posted: 5 Jun 2015 13:16 EDT
Last activity: 29 Nov 2016 2:42 EST
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 Experience
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.