Posts

Showing posts from July, 2023

Pushing Code To Git.

Image
 Hi, In this blog we will see how we can push code to our git account. Open your VSCode terminal, type following command git init Then run command  git add -A Then from created git repository copy command git remote add origin https://abc.git Now go to left menu pane, and open git menu. Note:- Give commit message. Giving commit message is important After hitting commit message hit blue button Publish branch. Now go back to your git account-->git repository. And refresh tab. You will see your code in your repository. Thanks,

Email Sending Activities In Pega

Image
Hi, In this blog we will see some of the OOTB email sending activities in pega. SendEmailNotification SendSimpleEmail SendEmailWithAttachments 1) SendEmailNotification This activity is present in @baseclass.  Description = Sends Email Correspondence. This activity basically gathers all the parameters for email and passes them to send email function . From: It accepts email address as per Email Address specification defined in RFC with only lcoal part and domain seperated by @ To/CC/BCC : It accepts one or more email addresses separated by "," or ";".Email Address should adhere to internet email address specification as defined in RFC. It is recommended separating email addresses with "," when there are multiple email addresses. Please note the below limitation when email address contains display name with ";" in it. Semicolon is replaced by comma when message is delivered to the email server which might cause issues when display name is used in ...

To Search/Filter For All the Node Level Data Pages In Pega Application

Image
 Hi, In this post we will see one common scenario, which is how we can easily find node level data pages within our application. Solution For doing this we can create our custom report to show instances of Rule-Declare-Pages and filter it on .pyScope  in order to get a list. Similarly, we can can find any rules in our application by creating custom report to get the instances of particular rule. For ex:-  To get Activity instance create report of class  =  Rule-Obj-Activity  To get AccessGroup instance create report of class  =  Data-Admin-Operator-AccessGroup  To get Attachment Category instance create report of class  =  Rule-Obj-AttachmentCategory To get CaseType instance create report of class =    Rule-Obj-CaseType To get ClassGroup instance create report of class =  Data-Admin-DB-ClassGroup  To get Class instance create report of class =  Rule-Obj-Class To get Data Transform instance create...

Setting Button Alignment In Pega

Image
 Hi, In this  blog we will see one of the commonly faced issues by pega developers.  While designing sections we often need to align buttons is different positions. So we can do this by setting Presentation style of control. Ex:- We need to align button control to right side. We can do this by, Opening the cell properties of a button, in the presentation tab under advanced presentation options set cell read-write classes to right-aligned. You can select other classes also by clicking gear icon beside the Cell read-write classes Thanks,

py-icons Visual Reference In Pega.

Image
 Hi, In this blog we will see some of the frequently used py-icons in pega project. Here, In the below image, Image source = Icon Class is used. Note: We need to choose Image source = Icon Class Following commonly used values for Image source = Icon Class 1) pi pi-todo 2) pi pi-line-chart 3) pi pi-documents 4) pi pi-chart-pie 5) pi pi-gear 6) pi pi-chat 7) pi pi-flag 8) pi pi-refresh 9) pi pi-trash 10) pi pi-gauge 11) pi pi-clock 12) pi pi-print 13) pi pi-upload 14) pi pi-help Link for reference https://docs-previous.pega.com/py-icons-visual-reference-72 Thanks,

Display and Validation Section In Property General Tab

Image
 Hi, In this blog we will one different way of validating property in pega. After creating property in Pega. Inside General Tab we have Display and Validation section.  Inside this section we have Table type = Class Key Value Class Key Value table validation Use Class Key Value to use a concrete class, rather than field value rules, as the source  of acceptable values for the property. Class Key Value specifies a class to validate the input values against. When you select Class Key Value, Table Description fields appear. Complete them to identify a  range of keys in a class other than the Applies To class of the property you are defining. Validation class Select a concrete class that stores the set of acceptable values. Depending on the number of keys defined for the class (in the Keys array of the class's rule form, certain conditions must be met: If class has: One key value Then: Corresponds to the valid value for the property you are defining. If class has: Two ...

Passing Query String Parameter To External Link In Pega

Image
 Hi, In this blog post we will discuss, one real time scenarios that we often get in our pega project. Sometime in our project we have requirement to pass some parameters value as query string in the external link provided by clients. For example we need to add this external link in our email correspondence. So that when the emails get triggered end users will get this link + parameters /query string in email body. For ex:-  The link is  "https://abc.xyz.com/form/SV_5bup?" The above link is provided by client. And now we have to add our parameters in  the above. So we can use Data transform or activity property set method. In one property we will store above link + append/add our parameters. And then we can pass this property to our correspondence. "https://abc.xyz.com/form/SV_5bup?ContactID="+Param.ManagerContactID+"&CM="+Param.CaseID+"&SL1="+Param.SL1