Menu
Feedback
Start here
Tutorials


Deleting a folder from CMS

Tutorial valid only for Legacy CMS Stores.

To delete a CMS folder, follow the steps below:

  1. In the VTEX Admin, access Storefront > Layout > CMS.
  2. Click on the CMS folder and then on Sites and Channels.
  3. Click the website that contains the folder you want to delete and then click the root folder (/).
  4. In the line corresponding to the folder you want to delete, click delete.

{"base64":"  ","img":{"width":958,"height":722,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":146710,"url":"https://images.ctfassets.net/alneenqid6w5/5LV3bGobResaCycAs4e4oS/0644cad6454dd3d6c0beb1eb8afc1da8/erroDeletarPasta2.png"}}

Some folders are required. Your store will not function properly without them. Others are important, so it's not a good idea to delete them.

Understand this theme deeper by reading the article CMS folder structure.

If a folder contains other folders, you must delete all internal folders before deleting the more external one. Otherwise, the system will return the error "Object reference not set to an instance of an object", as in the image below.

{"base64":"  ","img":{"width":511,"height":156,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":4237,"url":"https://images.ctfassets.net/alneenqid6w5/6g2MBbZJUQUQM2YQQ88MQE/9159df93c82fc1e89199aaf1922a5044/erroDeletarPasta.png"}}

For example, if you want to delete folder A, and within it are folders A1 and A2, first delete folders A1 and A2, and then delete folder A.

Contributors
3
Photo of the contributor
Photo of the contributor
Photo of the contributor
+ 3 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
How to delete a collection
« Previous
Changing default system texts displayed in the store
Next »
Contributors
3
Photo of the contributor
Photo of the contributor
Photo of the contributor
+ 3 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback