Use case for Editable Data Pages

Hi All,

I am looking to explore some valid use cases for Editable Data Pages. Now, I am aware of what it is , and the differences between Editable and Saveable Data pages through some articles in PDN.

My question, more specifically is this : are there any scenarios where Editable Data Pages are the only possible solution through Data pages management ?

@VTALUKDAR

Found a similar question that was asked earlier that might help here,
But no scenario there as well:

@ManjunathaC Yeah I saw the question,and found no answers :)…I was hoping someone from PEGA can answer this question.

@MarissaRogers @MarijeSchillern Can you please help ?

@VTALUKDAR I would say this is very simple and straightforward: use editable data pages if you want to modify but not save the data directly or based on a trigger.

So, maybe a better question would be: when is a savable datapage less appropriate (i.e. if we want don’t want dependant changes or we’re fine with using an activity for saving data)

@VTALUKDAR I can point to one use-case which I encountered recently where the reporting data of Channels is mapped to editable Dpages rather than named pages and realized that in many places named pages can be avoided using editable Dpages.
The advantages being creation/cleanup, scoping, params etc

@VTALUKDAR

This should be one of the place where we can use editable data page..

Consider below mentioned scenario.

  • Needs to display all assigned cases of logged-in user in portal.
  • Need to provide an ability to users to select the list of case which was completed and to resolve the cases in bulk from user portal.
  • Step 1 - User needs to select the list of cases first and then need to click button avail in table header and need to provide confirmation for resolving the cases.
  • Step 2 - Based on confirmation all selected cases need to get resolved.

Solution

  • Have a table with source data page and data page source as report definition. This will help us to get the list of assigned cases of logged in user.
  • Change the data-page mode to editable.
  • In all table row a check-box field needs to be be avail, by using this checkbox user can select the list of case which needs to be resolved.
  • When user selecting the checkbox, the selected value needs to be get updated in data-page cache, that’s the reason we are going for editable data page. If the mode was not editable then when user selecting the list of cases which needs to be resolved, that selected value will not get updated in data-page cache.
  • Now based on confirmation, we can iterate the data-page and can use the updated cache information and can have logic to resolve the selected cases only (pySelected==“true”).

This is one of the common scenario in which we will be going for editable data page..

Hope this was helpful…