0 Replies Latest reply on Apr 27, 2012 4:56 AM by kiranddd

    custom Dam asset media handler in cq 5.3

    kiranddd

      Hi!

       

      I defined one custom workflow for my dam assets which whill sync the assets to svn on submit of "submit to svn" button....

       

      I am using cq 5.3 version.....this functionality working fine in my desktop and when i implemented this on my production system it is not working....

       

      below is the steps followed to create custom handler:

      1) added new node in /libs/wcm/core/content/damadmin/actions/ and added below properties to it

          

              <submitsvn

                  jcr:primaryType="nt:unstructured"

                  cls="cq-damadmin-workflow"

                  conditions="[CQ.wcm.SiteAdmin.hasAnySelection,CQ.wcm.SiteAdmin.noFolder]"

                  context="[toolbar,contextmenu]"

                  disabled="{Boolean}true"

                  handler="CQ.wcm.SiteAdmin.submitSVN"

                  target="CQ.wcm.SiteAdmin.getAnyTarget"

                  text="Submit to SVN"/>

      2) created handler (CQ.wcm.SiteAdmin.submitSVN) in  /libs/cq/ui/widgets/source/widgets/wcm/siteadmin.action.js

      3) Defined a workflow and calling that workflow in submitSVN fun

       

      But the call is not coming to siteadmin.action.js at all.....there is no error msgs even any of the log files.........

       

      Please help me....