Adding a new list item
Update an existing list of items with new items.
Add a new list item, for example, HouseholdItemsList and persist it.
In Dev Studio, to add a new list item, create a data type HouseholdItems in the PegaDATA database and have the following properties pyID (Primary key), EntityID, and EntityType.
Add other properties related to subsidiary like item name, cost, purchased on, and so on.
In the Vehicle data type (PegaPS-Data-Entity-Household), create a field.
In the Field name box, enter HouseholdItemsList.
In the Type list, select Embedded data.
In the Data object list, select HouseholdItem.
Click Submit.
Update the PersitEmbeddedPage (PegaPS-Data-Entity-Household) activity with a new step looping the HouseholdItemsList property and invoke the activity SaveObject by passing the EntityID and EntityType parameters similar to AddressList.
Create a UI to capture the household item details so that they persist after you enter the data.
Previous topic Adding a new field to the household intake screen Next topic Update Household case type