Hello!
I must to delete content model. It created by model manager and it is active now. Deactivate returns error:
We couldn't deactivate model ' Model '{http://www.my-domain.com/model/document/1.0}Document' is in use and cannot be deleted or deactivated.'.
Next query returns nothing:
{ "query": { "query": "TYPE:\"dc:whitePaper\"", "language": "lucene" } }
The solr was reindexed. Trashcan empty.
How to find out, where content model "is in use"?
Thanks for any advise,
Serge
Solved! Go to Solution.
There was not documents with custom type. But it was content with custom aspect. It was found by query:
{ "query": { "query": "ASPECT:\"dc:webable\"", "language": "lucene" } }
Custom asspect removed from documents. Custom model was deactivated.
There was not documents with custom type. But it was content with custom aspect. It was found by query:
{ "query": { "query": "ASPECT:\"dc:webable\"", "language": "lucene" } }
Custom asspect removed from documents. Custom model was deactivated.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.