Question
Zensar Technologies Ltd
IN
Last activity: 14 Sep 2023 10:56 EDT
Editable DataPage Vs Savable DataPage
Hi, Can someone explain the clear difference between Savable Data Page and Editable Data Page? With realtime scenarios, which we can use as a best practice in our application.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 7 Jun 2023 2:12 EDT
Bits in Glass
IN
@AbhishekC1725 sure, your question is right. Let me give you an example. We have a list of products displayed in a table and end users will be having option to enable the checkbox against each of the products. That means if there are 40 products, and users enabled 30 products, then these 30 products needs to processed further. I mean for billing, payment etc. So this data is not required to save to data type but this is required in case level as each users will have different selections and we need this selected data for processing further. So we use editable data page here and in the clipboard for these selected products, it will be true. We will be using this true value further.
But if suppose, there is a feature to update customer's relationships. So we will need to fetch existing relationships in the UI, assume user added 1 more relationship in the UI and this data is required to be there in UI as we may need it for reporting or future purpose. Here fetching and saving back to DB is there. So here savable dpage.
Bits in Glass
IN
@AbhishekC1725 please check the 2nd comment for the explanation with examples
https://support.pega.com/question/what-difference-editable-data-page-and-savable-data-page
-
Abhishek Choubey
Zensar Technologies Ltd
IN
@Anoop Krishna Hi, I read the second comment, In layman terms what I understand basically, Editable data page we will use when we want to fetch the records and update some details in the fetched record. In case of Savable data page we can update + save new records in database. Is this is correct?
Bits in Glass
IN
@AbhishekC1725 you are correct. In savable data page, we can do fetch, update and save back to DB. But in editable data page, we can do fetch and update but no save back to DB. So if we need only fetch and update in clipboard level, editable dpage. If we need save back to DB also, then savable dpage.
-
Abhishek Choubey
Zensar Technologies Ltd
IN
@Anoop Krishna Thanks, Savable Data page is very much clear now. But this point, "So if we need only fetch and update in clipboard level, editable dpage." if the values is updated in clipboard level, it means values is not getting save in database, when user again open the case then he will see old values, So what is the use of updating value in clipboard level. I just want to clear this, that;s why asking 😅
-
Anoop Krishna
Accepted Solution
Updated: 7 Jun 2023 2:12 EDT
Bits in Glass
IN
@AbhishekC1725 sure, your question is right. Let me give you an example. We have a list of products displayed in a table and end users will be having option to enable the checkbox against each of the products. That means if there are 40 products, and users enabled 30 products, then these 30 products needs to processed further. I mean for billing, payment etc. So this data is not required to save to data type but this is required in case level as each users will have different selections and we need this selected data for processing further. So we use editable data page here and in the clipboard for these selected products, it will be true. We will be using this true value further.
But if suppose, there is a feature to update customer's relationships. So we will need to fetch existing relationships in the UI, assume user added 1 more relationship in the UI and this data is required to be there in UI as we may need it for reporting or future purpose. Here fetching and saving back to DB is there. So here savable dpage.
-
Rakshith Mende
Zensar Technologies Ltd
IN
@Anoop Krishna Thanks Anoop for clearing my doubt and clearing the concept. Very Good explanation from your side in such an easy language.😊
-
Anoop Krishna
Aaseya IT Services Pvt. Ltd.
IN
@Anoop Krishna, can we save editable datapage changes to the database in any other way?
Bits in Glass
IN
@SantoshiSandhyaK we need to set it to savable dpage and then save. That's the ideal way.
Tata Consultancy Services
IN
Hi @AbhishekC1725 Can you refer to the below article? It gives more graphic/visual content.
I hope this will help you.
Thanks,
Ashok
-
Abhishek Choubey
Zensar Technologies Ltd
IN
@Bhumireddy Thanks for these links.