CMS (Formerly Content Manager): Deleting Fields from a Collection

3 min read
You can delete fields (columns) from your collection at any time. The field is only marked as deleted and is not actually removed from the collection. You can always restore a deleted field and all of its content.

Before deleting a field from a collection

If the field is 
On your published site
Connected to a text element
The element is displayed with its default text.
Used as a sort condition in a dataset
The content is displayed without the sort condition being applied.
Used as a filter condition in a dataset 
Nothing is displayed because the filter condition cannot be met.
Used as a field in a dynamic page URL
Any links you create to that dynamic page in your site return a 404 error (page cannot be found).
Connected to an Input element
The Input element is displayed and remains enabled. If the user submits, a new item is created in the collection but the user content is not stored in the item. 
In the case of a dropdown list, if the deleted field is connected to the labels and values, the default options are displayed.
Connected to a column in a table
The column is empty but the header remains unless you manually remove the column.
Connected to an image
If the Image field is deleted, the element has no content and isn't displayed. 
If any other of the connected fields are deleted, the image displays but not the other information.
Connected to a gallery
If the image field was deleted, the gallery displays empty shapes.
If any other of the connected fields are deleted, the image displays but not the other information.
Connected to a button
If the button label was connected to the deleted field, the button displays blank and remains enabled.
Connected to a video element
The video element is displayed on the page but plays the default video.

Deleting a field from a collection

  1. Go to CMS in your site's dashboard.
  2. Click the relevant collection.
  3. Click the title field at the top of a field (column).
  4. Click Delete.
A screenshot of a sandbox collection with the Delete option of a field highlighted.
Tip:
Accidentally deleted a field? Recreating a field with the same name immediately after deleting it restores the field and its contents. 

After deleting a field from a collection

After deleting a field in your collection, a Warning icon is displayed:
  • In the Connect to Data panel of your element.
  • In the Dataset Settings panel. 

If the field is used in a dynamic page URL, a Warning icon is displayed:
  • In the Dynamic Page Dataset panel.
  • In the Page Settings panel of the dynamic page.
  • In the SEO Settings panel of the dynamic page.

Did this help?

|