Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

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

Avatar

Level 2

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.

 

jsmsrinivas_0-1646123660127.png

example

jsmsrinivas_1-1646124135362.png

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

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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-metada...



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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-metada...



Arun Patidar