_cq_template and data-sly-resource | Community
Skip to main content
November 27, 2019

_cq_template and data-sly-resource

  • November 27, 2019
  • 0 replies
  • 1009 views

I created a CTA component that has a _cq_template node to have some properties by default configured when the component is added to a page.

The same component is also used within other components, by means of a proxy with following syntax in the html:
<div data-sly-resource="${'cta' @ resourceType='xxx/components/content/cta'}"></div>

Problem: When the component is proxied in above way, the _cq_template is not taken into account.

Does anybody know if there is a way to have the proxied component also have the pre-configured properties applied ?

Thanks!

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