I have a requirement that when i collect information from the customer and send the data for approval. In approval step i want the customer data as read only format....Please help me to solve this scenario???
***Edited by Moderator Marissa to update Pega Academy to General; update platform capability tags***
Instead of copying the values to a new page group, I think you can do a section include of Customer Data in the Approval step and in the Presentation tab of Section include, in edit options, we can mention "Read-Only(Always)"
There is no need to over complicate the data model and introduce an additional, redundant page group property especially if you are showing the same information.
If the requirement is to show exactly the same data from one step to another but just in 2 different modes- editable and read-only, then I would suggest you reuse the same section. In other words, create an atomic section (eg. customer address) and set all fields in that section to AUTO (not to Editable) in the presentation tab. Same- all columns need to be set to Auto-if you are using a grid in a section with page group property as its source. Then, you can embed this section in multiple places- eg. for approval screen. Everywhere you embed this section, you can specify if you want it in ReadOnly or Editable, or upon a condition.
You can reuse same page group and no need to create and copy same data to another page group. You can show UI in Approval step using data from same page group which you already have. Only thing you have to do is make the UI in Approval step as readonly.
Also, if you have same data already displayed in an editable UI before and you want to display same UI and data in a readonly mode, as mentioned in comments above you can use same section to display the UI and reuse in both the places. Just that you have to display it in editable mode in first place and readonly mode in Approval step.