how to fetch the node properties of image in assets and use in component | Community
Skip to main content
Level 2
March 1, 2022
Solved

how to fetch the node properties of image in assets and use in component

  • March 1, 2022
  • 1 reply
  • 793 views

Hi

 

i have a requirement that " usually we store image in assets , i had a carousel component, in that whenever i upload any particular image from assets in to carousel component, now i want to get the jcr:created  property value of that particular image & i want to display the jcr:created(date) property value in that carousel component.

 

example

suppose if i add some images in to my carousel component, i want to display that jcr:created date value.

 

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

Hi,

The date and other metadata properties stored in the node(jcr:content or metadata).

You can use these asset node/resource to fetch the meatdata properties in component Modal. 

You can check below for code reference : 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/accessing-dam-asset-metadata-programatically/m-p/260172

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
March 1, 2022

Hi,

The date and other metadata properties stored in the node(jcr:content or metadata).

You can use these asset node/resource to fetch the meatdata properties in component Modal. 

You can check below for code reference : 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/accessing-dam-asset-metadata-programatically/m-p/260172

Arun Patidar