how to include Asset server images in AEM sites custom components

Avatar

Avatar

Anny

Avatar

Anny

Anny

19-01-2021

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

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

kunal23

MVP

Avatar

kunal23

MVP

kunal23
MVP

20-01-2021

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

Answers (0)