Asset Finder inside of AEM Content Fragments | Community
Skip to main content
sanjeevkumart45
Level 2
February 24, 2025
Question

Asset Finder inside of AEM Content Fragments

  • February 24, 2025
  • 1 reply
  • 494 views

Is it feasible to enhance AEM Content Fragments by integrating an asset finder within them? We are considering developing a custom Content Fragment component that would enable us to author and manage a collection of assets or images seamlessly.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

diegov53610848
February 24, 2025

@sanjeevkumart45 it is possible without developing a content fragment component. You can use all dialog components inside the content fragment. Simply use the pathfield component with the pickerSrc element set. Here is a example : 

<file jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/form/pathfield" fieldLabel="Image" name="fileReference" listOrder="1" maxlength="255" metaType="text-single" pickersrc="/mnt/overlay/dam/cfm/admin/content/v2/associated-content/assetpicker.html?root=/content/dam&amp;mode=single&amp;filter=nosystem" valueType="string" renderReadOnly="false" showEmptyInReadOnly="true"/>

 

You can set the root path inside of the pickerSrc.
For further reference please check the documentation.

sanjeevkumart45
Level 2
February 24, 2025

Thank you but my question is, Can I be able to use any of the core components inside of a content fragment? Like the Carousel from here below.

https://experienceleague.adobe.com/en/docs/experience-manager-core-components/using/wcm-components/carousel