Expand my Community achievements bar.

SOLVED

how to include Asset server images in AEM sites custom components

Avatar

Level 2

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

Avatar

Correct answer by
Employee Advisor

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

Avatar

Correct answer by
Employee Advisor

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

Avatar

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