how to include Asset server images in AEM sites custom components | Community
Skip to main content
Level 2
January 19, 2021
Solved

how to include Asset server images in AEM sites custom components

  • January 19, 2021
  • 1 reply
  • 1424 views

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

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kunal_Gaba_

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-connected-assets-instances.html?lang=en#troubleshoot

1 reply

Kunal_Gaba_
Kunal_Gaba_Accepted solution
January 20, 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-connected-assets-instances.html?lang=en#troubleshoot

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