Hi,
Where is content-model.xml file located in alfresco share community edition 5.1?
It is not located in Share at all. The contentModel.xml is part of the Repository (backend) and as such located inside the alfresco-repository-x.y.jar in the webapps/alfresco/WEB-INF/lib/ folder. The source of it can be found in GitHub, though due to various migrations / relocations, it will be hard to find the exact state for 5.1. The contentModel.xml should generally not be modified - any reasonable requirement should be solveable by using clean customisation patterns via custom models / behaviours etc.
Can you provide bit more details as to what you are trying to achieve? If you are looking for out of the box contentmodel, here is the link for your refernce:
All ootb models: https://github.com/Alfresco/alfresco-community-repo/tree/master/repository/src/main/resources/alfres...
You can also find the outofthebox content mdoel in "alfresco-repository-5.x.x.jar" file in the exploded war at this location: <ALF_INSTALL_DIR>\tomcat\webapps\alfresco\WEB-INF\lib\alfresco-repository-5.x.x.jar\alfresco\model\
Please note that, you should never make any modifications/alternations to the out of the box content-model.xml file.
To learn more checkout these posts:
https://docs.alfresco.com/content-services/5.2/develop/repo-ext-points/content-model/
http://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html
[EDIT]: A useful response is already provided by @afaust
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.