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, SubsidiaryList and persist it.

  1. In Dev Studio, to add a new list item, create a data type Subsidiary in the PegaDATA database and have the following properties pyID (Primary key), EntityID, and EntityType.

  2. Add other properties related to subsidiary like subsidiary name, incorporated date, and so on.

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

    1. In the Field name box, enter SubsidiaryList.

    2. In the Type list, select Embedded data.

    3. In the Data object list, select Subsidiary.

    4. Click Submit.

  4. Update the PersitEmbeddedPage (PegaPS-Data-Entity-Business) activity with a new step looping the SubsidiaryList property and invoke the activity SaveObject by passing the EntityID and EntityType parameters similar to CommList.

  5. Create a UI to capture the subsidiary 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.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us