In our environment we have had multiple issues with users accidentally deleting a Workspace which contains changed (not checked out) and new objects by miss clicking upon activating a workspace.
The Delete button is right next to the Activate button and both require an extra answer in a pop-up window:
When Activating you must answer this question:
And when Deleting you must answer this question:
If your mindset is to activate the WS and you know you get the extra question to which you must answer YES, you are very likely to click on the OK button when you accidentally clicked on the Delete button.
In other posts people have asked about recovering removed workspaces, but unless you have uploaded all your new and changed files, there is no way to restore these files. They are really gone.
So now my question:
Is there a way to customize the My Workspace view and remove the Delete function from the Actions menu?
You can try applying a "Deny" ACL (but not an absolute deny) on the "Delete" action for the EPMDocConfigSpec type on the corresponding roles in the corresponding areas of Windchill where this is a problem.
For example, if you do it to the pseudo role "OWNER" and you do it at the Site (or Org) level, this would make it so that people cannot delete workspaces that they own anywhere in Windchill, though admins still could if necessary.
Here is a reference PTC TS article that explains how to solve the opposite problem (granting the ability to create).
If you have any other Windchill-related questions, feel free to reach out to me directly at firstname.lastname@example.org. My company has decades of experience in all things Windchill.
That's a nasty one. There are a lot of places in the Creo and Windows interfaces have the button required to complete an action right next to the one that throws all the work away. This just doubles down by having the request for 'keep my work' identical to 'throw away my work'
Sometime PTC will hire a full time, can fire people, UI development enforcer. At least then there is only one person to send this sort of problem to and if they botch the job there's only one person to replace.
Thanks for the reply, but not really what I was looking for. Users should still be able to delete their workspaces.
It should only be a bit more difficult and not right next to the activate button.
Just wondering... would it be helpful to remove the extra confirmation box that pops up for activating a workspace?
I don't know how to do that but just thought I'd ask if that might help treat the symptoms of a bad UI.
Adding to this thread to identify it as an issue we have faced as well in WC 11 M030.
Since you are required to accept the deletion of the workspace, I have no intention of pushing a customization. It's a UI issue that needs to be fixed by PTC.