Skip to main content

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.



Comments

Popular posts from this blog

Read PDF in Boomi

If you need to read pdf from Boomi Atom installation path,then use code something like this in map function. byte[] filebytes = new File('\\\\'+path+'\\'+filename+'.pdf').readBytes() String strEncoded= filebytes.encodeBase64().toString() name = filename+".pdf"; fileContent= strEncoded; fileContent stores the encoded base 64 data.

Salesforce - Common footer and sender email address for all emails from one department

if you are in situation where you are sending email out from salesforce and you want to use same  sender email address and footer.Lets say you are from customer service department and you department tag line is Best in service:) and you want to send email always from one email id bestineservice@mycompany.com for customer service department. Follow below steps- Common email footer(Organization wide email footer):- 1)login to salesforce 2)click on setup, in Admistration setup section click on Email footers then click on new on email footer screen. 3) enter all the details and click on same. Common Email address :-  1)click on setup 2) click on setup, in Admistration setup click on organization-wide address and then click on Add 3) fill the details and select the profile like customer service profile or depends on you situation and click on save  

How to create dynamic table in email body - Dell Boomi

1-Create xml profile as shown below. 2-If there is chance that few elements/rows may or may not have values then provide default empty space so all columns will be maintained properly. 3-You can also provide width ,color etc as shown in profile. 4-You need to provide Header label as default value as per requirement.