Removing Custom Content Model

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2015 10:33 AM
Is there any way to strip out my custom content model? I know there's an uninstall for amps, but this still leaves traces. Do I have to reinstall Alfresco to achieve this?
I have a demo system that we've been using to "practice" our content model development. I have made major changes and prefer to just remove the old one (and hopefully all the custom metadata would just 'disappear') and then start over tagging content with my new types/aspects.
I would really prefer NOT to have to reinstall, so if there's any 'slightly dirty' way to accomplish this please let me know!
I have a demo system that we've been using to "practice" our content model development. I have made major changes and prefer to just remove the old one (and hopefully all the custom metadata would just 'disappear') and then start over tagging content with my new types/aspects.
I would really prefer NOT to have to reinstall, so if there's any 'slightly dirty' way to accomplish this please let me know!
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2015 10:09 AM
Hi,
You have a couple of options before you can even think of a re-install, here goes:
With regards to metadata disappearing, you will run into a slight problem where content that still have old metadata fields will not render the edit properties form. So the best way is to clean up your content before removing the old content definition, unfortunately if your fields were part of a "type" you will have to download or delete the affected content. You can manage that by writing a quick script. After content clean-up then follow the steps.
1. You can re-index you system, which will remove all the broke (remove) content models.
2. follow this link: https://forums.alfresco.com/forum/developer-discussions/content-modeling/changing-custom-types-06102....
You have a couple of options before you can even think of a re-install, here goes:
With regards to metadata disappearing, you will run into a slight problem where content that still have old metadata fields will not render the edit properties form. So the best way is to clean up your content before removing the old content definition, unfortunately if your fields were part of a "type" you will have to download or delete the affected content. You can manage that by writing a quick script. After content clean-up then follow the steps.
1. You can re-index you system, which will remove all the broke (remove) content models.
2. follow this link: https://forums.alfresco.com/forum/developer-discussions/content-modeling/changing-custom-types-06102....
