Expand my Community achievements bar.

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

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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:

EstebanBustamante_1-1723827418450.png

 

EstebanBustamante_0-1723827293372.png

 

Here are some references: 

https://github.com/adobe/aem-core-wcm-components/tree/main/content/src/content/jcr_root/apps/core/wc...

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

 

Hope this helps



Esteban Bustamante

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

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:

EstebanBustamante_1-1723827418450.png

 

EstebanBustamante_0-1723827293372.png

 

Here are some references: 

https://github.com/adobe/aem-core-wcm-components/tree/main/content/src/content/jcr_root/apps/core/wc...

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

 

Hope this helps



Esteban Bustamante

Avatar

Level 3

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