AnsweredAssumed Answered

Change Type Dialog

Question asked by gukguk on May 20, 2011
Latest reply on May 24, 2011 by gukguk
Hi !
I'm a newbie in Alfresco.
I want to add new type in change type dialogue.
According to the documentation that i read , i have to modify share-config-custom.xml (located at  \tomcat\shared\classes\alfresco\web-extension
) so the new type will show up in change type dialog.
But it doesn't show up at all.
I also try to put logger.log() statement to debug change-type.get.js because i want to see if the config can be read by the js but there is no log statement being print
Can anybody help me ?

<?xml version="1.0" encoding="utf-8"?>
<alfresco-config>

   <!– Repository Library config section –>
   <config evaluator="string-compare" condition="RepositoryLibrary" replace="true">
      <!–
         Whether the link to the Repository Library appears in the header component or not.
      –>
      <visible>true</visible>
   </config>
   <config evaluator="string-compare" condition="DocumentLibrary" replace="true">
      <types>
         <type name="cm:content">
            <subtype name="tzc:document"/>
         </type>
         <type name="tzc:document">
            <subtype name="tzc:customerDocument"/>
            <subtype name="tzc:salesOrderDocument" />
            
         </type>
         <type name="tzc:salesOrderDocument">
            <subtype name="tzc:receipt" />
            <subtype name="tzc:salesOrderItemDocument" />
         </type>
   </types>
   </config>
</alfresco-config>

Outcomes