Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

Adding a new list item

Updated on May 6, 2021

Update an existing list of items with new items.

Add a new list item, for example, HouseholdItemsList and persist it.

  1. 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.

  2. Add other properties related to subsidiary like item name, cost, purchased on, and so on.

  3. In the Vehicle data type (PegaPS-Data-Entity-Household), create a field.

    1. In the Field name box, enter HouseholdItemsList.

    2. In the Type list, select Embedded data.

    3. In the Data object list, select HouseholdItem.

    4. Click Submit.

  4. 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.

  5. Create a UI to capture the household item details so that they persist after you enter the data.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us