Unable to Save Data using SavableDataPage In Pega Cosntellation to a Data Object which has pyGUID as a primary
I’m calling the Sava Data Page Automation Shape right after the Collect Infomation step where I have a page named “Employee Details” (Single Page - Embedded Data ) it keeps throwing the error “Please select only page/pagelist properties with automatic data access from a savable type data page”
And if I’m using a data object which isn’t having pyGUID, the property which is defined as a primary key is set to “Read-Only” mode despite creating an Embedded Data Property to take details from user
I believe to save this captured information back to data type or database table using savable data pages, you need to creating a mapping between embedded property and data page by modifying the data sources block from Lookup to Apply Data transform.
@RajeshNalla Rajesh, by default, generated Dpages that would expect pyGUID. They work seamlessly when you perform CRUD operations from Data Records (web portal).
Here, just do a clone of the savable datapage without any params, then execute data mapping and save
Hi @ChaitanyaJ , thank you so much for response!!!
The SavableDataPage that I have configured has the data source as DT. However, in order to save the data back to DB it is asking for the ID, but the data type I’ve defined has pyGUID
But in UI, how do I take the pyGUID from user? or for that matter any primary key as the input?
So true about the CRUD through Data Records!
In short, can we say that this is the limitation in pega constellation?
However, I have followed what u mentioned, I had to create a SavableDP with No param in order to save and used a key other than pyGUID, and I have set the value in pre processing DT to populate the key.