when I open the dialog for the Embed component, I am unable to see the newly added embeddable listed in the drop-down menu under the 'Allowed Embeddables' section | Community
Skip to main content
New Participant
August 15, 2024
Solved

when I open the dialog for the Embed component, I am unable to see the newly added embeddable listed in the drop-down menu under the 'Allowed Embeddables' section

  • August 15, 2024
  • 2 replies
  • 887 views

I have implemented the Embed component and added an embeddable within it. However, when I open the dialog for the Embed component, I am unable to see the newly added embeddable listed in the drop-down menu under the 'Allowed Embeddables' section, which is preventing me from selecting it. I am using AEM 6.5

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 EstebanBustamante

Hi,

 

Please follow the same pattern as the YouTube embeddable example. Try to use the resourceType I used in the screenshot below. I was able to add a new one without any issues:

 

 

Here are some references: 

https://github.com/adobe/aem-core-wcm-components/tree/main/content/src/content/jcr_root/apps/core/wcm/components/embed/v1/embed/embeddable/youtube

https://experienceleague.adobe.com/en/docs/experience-manager-core-components/using/wcm-components/embed

 

Hope this helps

2 replies

arunpatidar
New Participant
August 19, 2024

Hi @zeeltr1 
Please check an example for custom embedded Iframe

https://github.com/arunpatidar02/aemaacs-aemlab/pull/28/files 

 

Arun Patidar
EstebanBustamante
EstebanBustamanteAccepted solution
New Participant
August 16, 2024

Hi,

 

Please follow the same pattern as the YouTube embeddable example. Try to use the resourceType I used in the screenshot below. I was able to add a new one without any issues:

 

 

Here are some references: 

https://github.com/adobe/aem-core-wcm-components/tree/main/content/src/content/jcr_root/apps/core/wcm/components/embed/v1/embed/embeddable/youtube

https://experienceleague.adobe.com/en/docs/experience-manager-core-components/using/wcm-components/embed

 

Hope this helps

Esteban Bustamante
New Participant
September 9, 2024

Hi @estebanbustamante,

Is there something wrong with having the embeddable pointing to v2 of the Core Embeddable resourceType?

Like this:
sling:resourceSuperType --> "core/wcm/components/embed/v2/embed/embeddable"?

or am I missing something from the doc?

 

Thanks,

Krass