Closed
Java Step
How to get a property value from clipboard using Java step?
***Updated by moderator: Lochan to add Categories***
This content is closed to future replies and is no longer being maintained or updated.
Links may no longer function. If you have a similar request, please write a new post.
How to get a property value from clipboard using Java step?
***Updated by moderator: Lochan to add Categories***
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
There is getString () also available if you want the value in the string format.
tools.getPrimaryPage().getString("property Name");
Discussion
Question Solved
Question Solved
Question
Question
Question
Question
Question Solved
Question Solved
Question Solved
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.