Pega For Beginners - How to create your first application in pega in 5 minutes

Image
 Hi there, you will learn today how to create a new application in Pega. But first of all, what is Pega:  Pega is a low-code software platform that helps organizations build applications to automate business processes, manage workflows, and make smart decisions using AI and rules. It’s widely used in industries such as banking, insurance, healthcare, and government to enhance efficiency and improve the customer experience. Saying that, to create the application, you can do it from Dev Studio following these steps: Log in to your Pega environment and click on Application and then New Application. It will appear showing the option to build from scratch or find an application type that Pega has already OOTB. If we click on search all types, it will show all the applications already created in Pega or the OOTB application that has all the assets predefined. Since im working with the personal edition, it doesn't show all the preloaded applications, so we are going with the option t...

Keyed data pages

Keyed data pages are used to avoid querying the database every time a user interacts with the application. Instead, they cache the information within the case, so whenever the data is accessed, it is already preloaded on the case clipboard. This makes the application more efficient and reduces database hits.


When to use keyed data pages  

In my experience, the most common use of keyed data pages is for dropdowns and sometimes tables. The Pega CSSA course provides examples of when to use this type of data page. From my perspective, keyed data pages are ideal when you need to filter data. You send the parameters for the data, and the keyed data page returns a filtered list based on those parameters. 

Sometimes i encountered scenarios where you need to query data form an external database, and making queries every time that we change a parameter can affect the preformance to the application, this could impact directly on the user making the interface slow and could lag sometimes, to avoid this whe use a key data page

How to configure a keyed data pages 

  1. Create a data page 
  2. on the structure we select List
  3. on the mode of the data page we select Read-Only 
  4. Scope we select Thread
  5. On the Keyed page access cheked the option Access pages with user defined keys
  6. On the Page list keys , we select the .pyGUID as the default identificator



Important notice:

A keyed data page can only be read-only and the structure must be a list, you cannot use keyed data pages for savable or editable page mode 

Comments

Popular posts from this blog

How to save a Page List into data type, Pega Tutorials

Step by step How to create a SOAP Connector in pega

Pega For Beginners - How to create your first application in pega in 5 minutes