In section we will guide you through how to delete a publish layout
Before proceeding to the next step, it's important to understand what a published Layout is. |
Once published, layout can not be deleted using row actions. It throws this error.
To delete a layout forcefully after publishing, navigate to Static Resources.
After publishing a layout, a static resource for that layout is created following name convention like layout__[layout_api_name]
. Locate the specific static resource and delete it.
After deleting this static resource, you can go on the layout manager and delete the specific layout without the earlier error.
Note: Follow the same steps as above to delete a published list view, as well.
Note: Follow the same steps as above to delete a published list view, as well.