AnsweredAssumed Answered

Add meta data to content form

Question asked by ramymansouri on Apr 1, 2015
Dears,

In this moment I'm trying to add a new metadata to the standard content and display it in its creation form.

I'm working with Alfresco SDK 2.0.0 with eclipse :

*In repo-amp project :

1- I've created a new custom content model "customModel.xml" under alfresco/module/repo-amp/model
2- I've added the bean registration of new models under alfresco/module/repo-amp/context



*In share-amp project I've added in "share-config-custom.xml.sample" under src/main/resources/META-INF/ :

1- visible
      aspect name="my:myAspect"
   visible

2- config  evaluator="node-type" condition="cm:content"
      forms
         form
            field-visibility
               show id="my:myPropertyInMyAspect"
            field-visibility
         form
      forms
   config



I restarted the embedded tomcat of the all-in-one project but I still not seeing the metadata in content creation form in share. Do you have any idea how I can fix this ? Thank you.

Regards.

Outcomes