cancel
Showing results for 
Search instead for 
Did you mean: 

Add new aspect

sulyman_korj
Champ in-the-making
Champ in-the-making
I am new on alfresco I use alfresco-4.2.f I try for two month ago to add new custom aspect but all my attempts not success, Please can any body help me and give me step by step how I can add custom aspect.

Regards
12 REPLIES 12

You need to place the properties file at this location.
opt/alfresco-4.2.f/tomcat/shared/classes/alfresco/messages

sulyman_korj
Champ in-the-making
Champ in-the-making
Thank you for your help, I can see on manage aspect Knowledge Base Referencable but I after I add to Currently Selected list and edit proprieties I can't see any new properties.

sanket
Champ on-the-rise
Champ on-the-rise
Have you added the following in share-config-custom.xml file ?



   <config  evaluator="node-type" condition="cm:content">
      <forms>
         <!– Default form configuration used on the document details and edit metadata pages –>
         <form>
            <field-visibility>
               <show id="kb:documentRef" />
            </field-visibility>
         </form>

         <!– Document Library pop-up Edit Metadata form –>
         <form id="doclib-simple-metadata">
            <field-visibility>
               <show id="kb:documentRef" />
            </field-visibility>
            <edit-form template="../documentlibrary/forms/doclib-simple-metadata.ftl" />
         </form>

         <!– Document Library Inline Edit form –>
         <form id="doclib-inline-edit">
            <field-visibility>
               <show id="kb:documentRef" />
            </field-visibility>
         </form>
      </forms>
   </config>



Also go through the points/steps from : http://blogs.alfresco.com/wp/wabson/2010/02/25/adding-custom-aspect-support-in-alfresco-share/
after making the above entry, and verify if you don't miss any of them.