Most of the components that ISVs can remove/delete from their managed packages still exist in customer orgs that have the package installed.
I want to provide my customers with a list (Visualforce page) of such elements so that they know what can be deleted.
I know that I can SOQL-query Objects, Fields, ApexPage
, ApexComponent
, but how do I find which of the results are those deletable items. They still look the same and now have a Delete button enabled in the Setup.
NOTE: Still fully unsolved. None of the answers helped to solved this.
InstalledPackage
. Not sure if you can get the list of components that way. – Daniel Ballinger Oct 9 '17 at 22:21SELECT Id, DeveloperName, NamespacePrefix FROM EntityDefinition WHERE IsDeprecatedAndHidden = true
give you anything meaningful? Documentation for this table exists only in Tooling API section but the query works in SOQL all right. 2. Do you see something suggesting the act of removal in SetupAuditTrail? It also can be queried (although it's next to impossible to write WHEREs for it). – eyescream Oct 10 '17 at 10:30