Is there a simple method to remove CMS collections from a Webflow template when exporting the code?

Published on
September 22, 2023

Yes, there is a simple method to remove CMS collections from a Webflow template when exporting the code. Here's how:

  1. Open the Webflow project that contains the CMS collections you want to remove.
  2. Go to the Collections tab in the Designer.
  3. Click on the collection you want to remove.
  4. In the collection settings panel, click on the gear icon to access the collection settings.
  5. Scroll down to the bottom of the collection settings panel and click on the "Delete Collection" button.
  6. A confirmation modal will appear asking you to confirm the deletion. Click on "Delete" to remove the collection.

Once you have deleted all the desired CMS collections, you can export the code from Webflow. The exported code will no longer contain any references to the deleted collections.

Note: Removing a collection will also remove all the items and fields associated with that collection. Make sure to backup any important data before deleting a collection.

By removing CMS collections from your Webflow template when exporting the code, you can optimize the codebase by removing unnecessary files and reduce the overall complexity of the project, making it easier to manage and maintain.

Additional Questions:

  1. How do I delete a CMS collection in Webflow?
  2. Can I export a Webflow project without including the CMS collections?
  3. Are there any considerations or precautions I should take before deleting a collection in Webflow?