I have an SPE script which content team runs from the script context menu. The script deletes the current context item. Once the item is deleted, and I close the script pop-up. I get another pop-up saying the selected item could not be found.
Is there a way to select another item (parent item in my case) in the tree node after the item is deleted so that this warning message can be avoided.
Also, is there a way to refresh the content tree from the selected node from SPE?