Custom DAM Publish Actions

bryane54211190

11-08-2020

I was wondering if someone could point me in the direction to some articles, API documentation, or the proper terms to google in order to create a custom action under the Quick Publish selection and Manage Publication options under the navigation menu for the DAM.  

 

The exact use case for this would be that we would like to use the DAM as a central repository for our digital assets and right now when we click on an image or pdf in the DAM we can select under Quick Publish options for "Publish to AEM" or "Publish to Brand Portal"   I would like to add custom options for other integrations so that I can push an asset to other internal tools or 3rd party integrations (for example, "Publish to Salesforce Knowledge Center").

 

Any assistance or guidance would be greatly appreciated.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

RMGJID

12-08-2020

Overlay the below path[1] from libs and add your option in content.xml in the below format[2]

 

[1] - /apps/wcm/core/content/editor/_jcr_content/content/items/content.xml

 

[2] - 

<publishtosfkc
granite:class="pageinfo-publishtosfmc"
granite:title="Publish to SFKC"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/button"
text="Publish to SFKC">
<granite:rendercondition
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/renderconditions/and">
<canreplicate
jcr:primaryType="nt:unstructured"
sling:resourceType="cq/gui/components/renderconditions/canreplicate"
path="${requestPathInfo.suffix}"/>
<isSFMCTemplate
jcr:primaryType="nt:unstructured"
sling:resourceType="cq/gui/components/renderconditions/<comp>"
path="${requestPathInfo.suffix}"/>
</granite:rendercondition>
</publishtosfkc>

Answers (0)