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
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.
Yesterday, I ruined my Dev Studio access because I private-edited an OOTB rule ( pzpega_ui_invoke.js ). So I needed to discard it urgently or I would lose my operator and all my work. Unfortunately I no longer had access to the Dev Studio using my operator so I needed to do it from another operator. Here's how I accomplished it.
Comments
Post a Comment