First, we need to mark every object to be removed by setting their property .pyDeletedObject to true. Then, apply the following function: @Utilities.RemoveDeletedObjects(TopPage.MyPageList) After applying this function, the marked elements will be removed from the page list.
This is what I do when there is a problem with the Lock. Tipically, the error message is as follows: Save, Delete or Commit has failed because lock "XXX" is not held
Just execute the following JavaScript function: pega.api.ui.actions.refreshSection({section: "MySection"}) Of course, we can set a parameter to run a data transform or call an activity. Keep reading!
Comments
Post a Comment