Cannot uninstall package after deleting a Page Layout component included from the package
AppExchange , Packaging , Partner
Last updated 13 days ago ·Reference W-7216544 ·Reported By 13 users
In Review
Summary
When attempting to uninstall a package, admins may receive an error similar to:
Page Layout <Object.Page Layout Name> This installed component is referenced by a locally created component. System Administrator
Page Layout <Object.Page Layout Name> This installed component is referenced by a locally created component. Standard User
When attempting to access the referenced page layout you'll receive an error:
"Unable to Access Page"
The profiles indicated are incorrect, and when accessed are actually the "Platform Integration User" and "Partner Network" profiles which cannot be edited.
These profiles won't directly reference the page layouts in question and will show "(No Page Layout Assigned)" as the page layout assignment in the object's page layout section for the profile.
Repro
1. Install a package that has page layout components included for a standard object
2. Set the page layout included in the package as the default page layout used for all profiles
3. Delete the page layout
4. Attempt to uninstall the package
5. Observe the errors:
Page Layout <Object.Page Layout Name> This installed component is referenced by a locally created component. System Administrator
Page Layout <Object.Page Layout Name> This installed component is referenced by a locally created component. Standard User
Workaround
There are no workarounds at this time.
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.
