embed component | Community
Skip to main content
Level 2
February 20, 2020

embed component

  • February 20, 2020
  • 1 reply
  • 3365 views

When I am trying to author embed component in the "embeddable" tab I don't see any options available. according to documentation. YouTube has to show up by default

 

So I debugged a bit in the dialog it's trying to get options  form "core/wcm/components/embed/v1/datasources/allowedembeddables" , "core/wcm/components/embed/v1/datasources/allowedembeddables" which is registered as a servlet. 

 

In servlets i see the current source is expecting a contentpolicy. or else empty list 

 

https://github.com/adobe/aem-core-wcm-components/blob/fcf28dd899b91ddcd58185264d5351f8ea82244d/bundles/core/src/main/java/com/adobe/cq/wcm/core/components/internal/servlets/embed/AllowedEmbeddablesDataSourceServlet.java

 

https://github.com/adobe/aem-core-wcm-components/blob/fcf28dd899b91ddcd58185264d5351f8ea82244d/bundles/core/src/main/java/com/adobe/cq/wcm/core/components/internal/servlets/embed/EmbeddableOptionsDataSourceServlet.java

 

 

In my case, I do not use editable templates. So will the dropdown always be empty list ?

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Level 3
February 22, 2020

Your question is very unclear. What are you trying to do exactly.