Updating component file structure after it has become used
E
Ed Putans
My team and I have run into the issue of having our components and sub-components structured haphazardly and would like to clean up a bit. This is easy in the development stage, but the project already contains thousands of pages in production.
We are unable to move components after content has already been created. We have tried:
UI:
The option to change references in the Component Editing screen in UI is disabled after the component is created.
In code:
Currently the content still gets lost, even after:
- updating the component's location in code
- changing its collectionName
- updating the component_nameandcomponent_name_cmpstables in SQL db
- updating every single reference to said component in the SQL rows and making sure there are no other hidden refernces to the files in the DB