Connected Assets on Custom component
In Connected Assets, I am able to drag and drop an image from the remote DAM using the features, and it caches a local copy of the image in the local site. However, I am unable to add those remote DAM assets into a custom component.
When I drag and drop the image into the custom component, I can see the properties of the file reference as "/content/dam/connectedassets/demo/abc.jpg", which shows the local site DAM folder. It is not caching the local copy of the image into the local site DAM folder, so there are no resources found in this path that's the error.
It is working perfectly when I drag and drop the image into a Sites page. It caches and copies the image into the local folder, and I can even reuse it. My problem is that I need to use it in a custom component.
Are there any particular steps that I need to add to the custom component to use remote DAM assets?
