Question
2
Replies
2443
Views
Posted: September 8, 2017
Last activity: September 10, 2017
Closed
Java Step
How to get a property value from clipboard using Java step?
***Updated by moderator: Lochan to add Categories***
Discussion
Question
Question
Question
Discussion
Question
Question
Question
Question
Question
How to get a property value from clipboard using Java step?
***Updated by moderator: Lochan to add Categories***
There is getString () also available if you want the value in the string format.
tools.getPrimaryPage().getString("property Name");
Pega Collaboration Center has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.
Hi Yatish,
If you are trying to read any property which is available in the Primary page of your Activity then you can use below code,
ClipboardPage primaryPage=tools.getPrimaryPage();
ClipboardProperty prop = primaryPage.getProperty("PropertyName");
If you want to read from the different Page which is available in Clipboard then you can try with below code,
ClipboardPage primaryPage=tools.findPage("pxRequestor");
ClipboardProperty prop = primaryPage.getProperty("PropertyName");
Hope this will help you.
Regards
Mahesh