Support Article

Unable to delete a page from embedded page list property



When the user tries to delete a page from an embedded pagelist property, say Pagelist().Pagelist() from a tree grid, it is again inserting a blank page.

Error Messages

Not Applicable

Steps to Reproduce

  1. Configure a tree grid.
  2. Populate a embedded page list property, say Pagelist().Pagelist().
  3. Configure Delete button for one Tree Grid columns
  4. Launch local action to get the confirmation message before deleting
  5.  Call the RemoveFromPageList activity from Post-Processing actvity.

Root Cause

User has launching local action to get confirmation to delete the row. User has called RemoveFromPageList activity from Post-Processing activity of location action. Activity is deleting the item from page list, However PRPC is inserting the blank row as it has to process the local action on the same pagelist item.


Below local change addresses the issue
  1. Create new property ISDelete in Data class which was referred in page list
  2. Open the flow action which is launched during delete button click and mention Pre and Post processing activities
  3. Write an Pre-Processing activity SetToFalse to set the value of ISDelete to false
  4. Write an Post-Processing activity SetToTrue to set the value of ISDelete to true
  5. Mention the Delete icon Actions like below
  6. Modify the activity where logic was written to delete the page from page list like below. Below should be first step of activity.

Published August 29, 2016 - Updated September 11, 2016

Have a question? Get answers now.

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