How to write a java code in an activity?

 How to write a java code in an activity? 

Just by using an API “java” in the method tab.
Eg. If we want to access a clipboard property then the java code will be like,
Tools.findPage(“pageName”).getString(“.PropertyName”);

note:

Pega guardrail is to limit custom java in all possible situations.

java method in activity

Get a full understanding of ACTIVITY


No comments:

Post a comment