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

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

  2. Add other properties related to inspection like inspected by, inspected on, and so on.

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

    1. In the Field name box, enter InspectionList.

    2. In the Type list, select Embedded data.

    3. In the Data object list, select Inspection.

    4. Click Submit.

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

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