As an administrator, I would like that some entities that form the basis of a package are locked so that accidental removal is not possible.
(WHY) It is possible to accidentally remove entities that form the basis of a package
(WHO) A partner
(WHAT) Prevent removal of entities that form the basis of a package
In the target org, entities that are part of a package are locked. It is not possible to remove these entities or modify them.
In the source org, it is not possible to remove the Document Definitions. However, it is possible to remove other entities that form the basis of a package.
It should not be possible to remove the following entities from the source environment if they belong to a package:
- Document Definition
On the client, show a message that the entity belongs to a package:
Use a similar mechanism as is already in place for showing locked messages.
On the server, prevent the removal of these entities as well using the checkPackageIsBasedOnthisEntity method.
Customer support service by UserEcho