Issue with Dynamic Media Proxy component in AEM Sites | Community
Skip to main content
Level 2
Jan 25, 2023 4:46 PM UTC
Solved

Issue with Dynamic Media Proxy component in AEM Sites

We have created a proxy component which inherits from Dynamic media(OOTB). The issue is when the author/user tries to author video to the proxy component, the proxy component is getting replaced with OOTB Dynamic media component.

Let me know if you have a solution for this issue or if you wanted to discuss more about the issue.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
krishna_sai
krishna_saiAccepted solution
New Participant
Feb 1, 2023 2:12 PM UTC

Hi @rajmishra10 Can you please copy cq:editConfig node under your proxy DM component and update sling:resourceType property under parameters node to your proxy DM path.


When ever you drag and drop the image/video it is taking OOTB sling:resourceType.

Hope this helps

Thanks
Krishna

5 replies

krishna_sai
krishna_saiAccepted solution
New Participant
Feb 1, 2023 2:12 PM UTC

Hi @rajmishra10 Can you please copy cq:editConfig node under your proxy DM component and update sling:resourceType property under parameters node to your proxy DM path.


When ever you drag and drop the image/video it is taking OOTB sling:resourceType.

Hope this helps

Thanks
Krishna

Translate
Level 2
Jan 27, 2023 12:44 PM UTC

I think You have no right to use a proxy component while developing, please get permission and security to use the same.

 

Thanks

Translate
Level 2
Jan 30, 2023 11:38 AM UTC

Can you elaborate more on permissions and security issue? 
What do you mean by I don't have right to using proxy components while developing? I want to know more.




Translate
Jineet_Vora
New Participant
Jan 26, 2023 9:21 PM UTC

@rajmishra10 - Could you please list the details of this problem along with DM component path?

Translate
Level 2
Jan 27, 2023 10:26 AM UTC

Proxy DM component path :- /apps/<project>/components/xyzdynamicvideo
Proxy Component : xyzDynamicVideo(has some style system at component level)
OOTB Component : DynamicVideo component

Issue Explanation:- When I am dragging xyzDynamic media to page, I can see the proxy component in page and styles. After authoring Title, preset etc , when I am dragging video over xyzDynamicVideo component, I am not able to see my proxy component in page. I am seeing DynamicVideo(OOTB) component in page. Somehow, xyzDynamicVideo component is getting overridden by DynamicVideo  component.


 

Translate