How to delete a publish layout?

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.
Reference: What is publish layout?

Steps to Delete a Published Layout:

  1. Once published, layout can not be deleted using row actions. It throws this error.

image-20240912-045328.png
Published Layout Delete Error
  1. To delete a layout forcefully after publishing, navigate to Static Resources.

  2. 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.

    image-20240924-072009.png
    Layout Static Resources
  3. After deleting this static resource, you can go on the layout manager and delete the specific layout without the earlier error.

Steps to Delete a Published List View:

Note: Follow the same steps as above to delete a published list view, as well.

Â