Monday, October 6, 2008

Alfresco : add custom Dialog label to create menu

Add new lable to create menu :



We need to add below code in web-client-config-custom.xml

<alfresco-config>
      <config>
             <actions>
                   <action id="create_testlabel">
                        <permissions>
                               <permission allow="true">CreateChildren </permission>
                         </permissions>
                         <label>Test Label Creation </label>
                         <image>/images/icons/invite.gif </image>
                         <action>dialog:testLabelAction </action>
                   </action>

                   <action-group id="browse_create_menu">

                         <action idref="create_testlabel"/>

                   </action-group>
             </actions>
       </config>
</alfresco-config>
now we can see new label "Test Label Creation" in image.



No comments: