Lets say there is newly created data type that is having 0 records,how can we add records to this data type using a saveable data page
Yes, when you create a data type Pega automatically creates a savable data page with source as lookup. The lookup’s searches the table using the table’s primary key. Now when you set the values to be added to the data table using this data page, if the primary key does not match with those present in the table, it’ll inset a new record in the table.
@SohamM95 now the saveable data page is created but how can we set values within it so that the data type will have newly added records?how are we using this saveable data page to set the values?
Are we going to manually enter the records in the datatype?and keep the database saveplan for saveable data page?
Please refer this link - you have an example to create a new record in the data type using Savable data page
@RameshSangili This page is not available now, can you provide summary on solution pls
@Ramsurendar You can initialize the values in a Data Transform and refer the DT in Savable Data page, by choosing Data Transform as the data source.
Refer: steps to use savable data pages to insert a new record in db | Support Center
Additionally, following article explains how we can handle the database-save for data sources that use autogenerated key. Savable Data Pages | Pega Academy