I am trying to update a parent aspect for already created aspect but I can't do that
and also I am trying to delete this aspect but it says you can't delete an aspect while the model is active is there any solution for that
Looks like this thread is duplicate of https://hub.alfresco.com/t5/alfresco-content-services-forum/delete-an-aspect-from-active-model/m-p/3...
But, can you explain what exactly you are trying. Please share the model and required changes you want to do.
@Dscexperts12 Posting spam is not allowed in the forum, your content will be marked spam and you will likely be banned.
Hi ,
Thank you so much for your reply. Actually, I am new to alfresco and my problem is:
I added an aspect to the model and I forgot to add the parent for this aspect.
so I want to update this aspect to add the parent aspect for it or delete this aspect and recreate it again
Ideally it should not be an issue if you added the aspect to model and want to add parent to the aspect unless that aspect is already applied to nodes. These are incremental changes and should work. Also checkout this thread: https://hub.alfresco.com/t5/alfresco-content-services-forum/non-incremental-model-changes/m-p/302455
Sometimes solr may report error when i tries to sync the model. In this case you need to delete indexes and models and restart
If you have not applied the aspect already, you should try adding the parent. If you have applied the aspect already checkout the options given here: https://hub.alfresco.com/t5/alfresco-content-services-forum/delete-an-aspect-from-active-model/m-p/3...
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.