Skip to main content
Level 2
Aug 15, 2024 9:40 PM UTC
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

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.
EstebanBustamante
EstebanBustamanteAccepted solution
Adobe Champion and Community Advisor
Aug 16, 2024 5:02 PM UTC

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

3 replies

EstebanBustamante
Adobe Champion and Community Advisor
EstebanBustamanteAdobe Champion and Community AdvisorAccepted solution
Adobe Champion and Community Advisor
Aug 16, 2024 5:02 PM UTC

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

Translate
Esteban Bustamante
Level 3
Sep 9, 2024 6:05 PM UTC

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

Translate
arunpatidar
Community Advisor
Community Advisor
Aug 19, 2024 7:43 AM UTC

Hi @zeeltr1 
Please check an example for custom embedded Iframe

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

 

Translate
Arun Patidar