Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments
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...

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