Hi and welcome to series of articles about Constellation and UI choices it offers called Constellation Flexible UI. I will share my knowledge and experience implementing new Pega UI architecture, Constellation, precisely I will concentrate on custom UI choices offered.
If you would like to know more about basics of Constellation I invite you to take a look on another series of post Constellation Hands-on. Me and my colleagues covered there a wide range of topics related to Constellation that will give you a jump start with Pega new UI capabilities. In this series of posts I assume you already have a sound understanding of Constellation.
I will start from briefly explaining architectural building blocks, discussing new parading of building apps. Then we will go into more advanced topics and see what are our options to implement custom UI utilizing Constellation. Take a look on demo of application that we will build:
@Kamil Janeczek Hi Kamil, Greetings. Hope you are well! I am looking into run this demo app in my Pega Infinity '23 Constellation based server, i have downloaded the SDK and RAP, noticed that Client registration is set to confidential, Can you please let me know if this app can be run locally and what changes are needed?
@KOMARINA yes it can be run locally. If anything is wrong with Client Registration rule ofr in general with authentication you can recreate rules to make auth the way you need it.
I have a question regarding saving data to a Data Type at runtime using an embedded property in Constellation. In my scenario, I’m trying to save a record where the ID (which is the key property for the Data Type) is included. However, the ID field appears as read-only at runtime, and I’m unable to set it dynamically.
Is there a recommended approach to set and save the key (ID) field at runtime in this case? Would appreciate your guidance on how to handle this in Constellation?
@Kamil Janeczek Hi Kamil, Thank you for your insightful article on Constellation. I found it very informative and well-structured, and I truly appreciate the time and effort you put into sharing your knowledge.
I had a few follow-up questions that I was hoping you could help clarify:
In the SDK package, can we leverage case type functionalities across multiple pages when using embed mode(without page reload)?
In a React application, if we embed the SDK package, will the case type functionalities be available across all pages, or do we need to import the SDK package separately on each page?
When bootstrap-shell.js get called and how does it trigger the SDK embed portal?
@Kamil Janeczek Thank you, Kamil. I am trying a pega case in an embedded mode and wanted to have the address bar url changed when navigating from screen, do you happen know if the current Pega ReactSDK has this feature or any solution that you can suggest?
@PreranaJ17243477you can use savable DP but as you said this property is read-only so user will not be able to provide it manually. Solution take input on some field from the user and then programaticaly set it on DP key to save the data
@Kamil Janeczek Hi Kamil. Actually, It’s just a simple case type, not exactly SDKs. I am just trying to create a normal approval-rejection flow in case type.
@Kamil Janeczek Hi Kamil, hope you are doing well.
Actually, I have doubt. while running one case, I’m getting some error. When I reject it, I am getting parameter id error and when I try to approve it, it is displaying “contact your system administrator”. why I’m getting this kind of error and is there any solution of it