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

  1. In Dev Studio, in the PegaDATA database, create the Grant data type with the following properties: pyID (Primary key), EntityID, and EntityType.

  2. Add other properties that are related to the Grant, such as the grant name, expiry date, and so on.

  3. In the Person data type (PegaPS-Data-Entity-Person), create a field of type page list of Grant data type class.

  4. Update the PersitEmbeddedPage (PegaPS-Data-Entity-Person) activity with a new step that loops the GrantsList property, and then invoke the activity SaveObject by passing the EntityID and EntityType parameters similar to CommList.

  5. Create a UI to capture the Grant details.

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