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

SOLVED

how to include Asset server images in AEM sites custom components

Anny
Level 1
Level 1

Hi All,

 

I have a custom component in AEM sites that has below mentioned fields and I need to include images/pdfs that are loaded in the asset server into the custom component. I have tried with Connected assets functionality but the problem I noticed is I can include only if the connected asset is used in any of the pages then only AEM can make like a local copy.

 

Headline

Image ( Path browser this field need to pull or include an image from the asset server)

Link

 

 

Any suggestions really help me.

 

Thank you

 

1 Accepted Solution
kunal23
Correct answer by
Level 10
Level 10

The assets from remote assets instance are synchronized when you search for them in the content/assets finder. So I guess in this case you have a path browse field and not using drag and drop feature from assets finder. You can update your dialog to use the image drag and drop field in this case. Once you change it to drag and drop then authors will first search for assets in assets finder and then drag them on the component. 

 

https://experienceleague.adobe.com/docs/experience-manager-65/assets/using/use-assets-across-connect...

View solution in original post

2 Replies
kunal23
Correct answer by
Level 10
Level 10

The assets from remote assets instance are synchronized when you search for them in the content/assets finder. So I guess in this case you have a path browse field and not using drag and drop feature from assets finder. You can update your dialog to use the image drag and drop field in this case. Once you change it to drag and drop then authors will first search for assets in assets finder and then drag them on the component. 

 

https://experienceleague.adobe.com/docs/experience-manager-65/assets/using/use-assets-across-connect...

View solution in original post

Anny
Level 1
Level 1
THank you.Yes. I have started working on it. how to fetch metadata for the connected asset as connected asset not fetching metadata.