I have a process which creates a placeholder BO, opens a tab and then displays the placeholder in a new tab.
I would like to run a process to clean up that placeholder when the tab closes, but you can't run a process on closing a tab, so the next best alternative would be to prevent the user from closing the tab with the close cross on the tab to force them to use an operation button to clean up and then close the tab, but there is no flag to hide the close cross, so I'm guessing a script is required.
Does anyone know how to:
- Run a process on tab close, or
- Hide the close cross from a tab