Search code examples
javaeclipsemaventomcatalfresco

Alfresco Plugin Metadata writer Guide


Can't find any information for how to install/work with Alfresco Plugin "Metadata writer".
Can anybody help me?

What I did:

  1. downloaded source from: https://github.com/zaizi/alfresco-metadata-writer
  2. changed Alfresco version in pom.xml
  3. compiled to jar
  4. copied metadatawriter-4.2.8.jar to $ALFRESCO_HOME\tomcat\webapps\alfresco\WEB-INF\lib
  5. restart Tomcat

Result: cant find "Metadata Writeable" aspect for documents

I also tried copying jar to $ALFRESCO_HOME\tomcat\webapps\share\WEB-INF\lib with no luck.

By the way, I use Alfresco Community Edition 5 and Metadata Writer fork (compatible with 5.x).


Solution

  • You can't find this aspect because this module for repo layer only. You can add this aspect in javascript/java web-script only (programmatic way). If you want to show this aspect in UI you should configure Share part too by yourself. Go to https://docs.alfresco.com/5.0/tasks/dev-extensions-content-models-tutorials-add-aspect.html and from #3.