top of page

Pega developer shortcuts and tricks

Updated: Jul 7, 2023

Welcome again to my blog site techpapers.online, today we tell few commonly used shortcuts which every Pega developer must know for easy and fast Pega development.


Searching rule which exists in different class and rulesets -


Open the rule in dev studio and go to Action -> Siblings. It will show in which all classes and rulesets the same rule is defined. This is useful in case when you want to know all possible rules of the same name and type exist in different class and ruleset and Rule Resolution might be picking one of these and not the one you are expecting.













This will show a pop-up dialog like this, pay attention to the class and ruleset where the same rule is defined. You can also open rules in Dev Studio by clicking on rule name.




Creating more than one property at one go

Sometime we need to create more than one properties in a class. In such case this trick will help you a lot. Just open the class in App Explorer and Right click on Properties and select Create Properties. Class details will be shown in the Right Panel, from this click on Add Field button at the right top corner.
















after clicking on Add field, a pop up will come there you can give property details, then click on either "Submit & add another" button or "Submit" button.


Opening class in App Explorer

You are seeing a rule in Dev Studio and you want to see other rules in the same class. For that you need to display the class in App Explorer in Dev studio so that you can expand different rules like Data Model, Decision, Process and Reports etc.


















To open this view, click on arrow which appear at the right side of the class name and select "Show in App Explorer".




I observe many developers tries to select & copy the class at the top and search in App Explorer search box. This approach works but it is bit difficult to select the class name and copy it. Try this approach it is very quick.



Comentarios


Post: Blog2_Post

©2022 by pegablogs. Proudly created with Wix.com

bottom of page