如何在 touch UI AEM 中将组件从一个页面复制到另一个页面?

How to copy a component from one page to another in touch UI AEM?

我想在 touch UI AEM 中将一个组件从一个页面复制到另一个页面。我们怎样才能做到这一点?

一种方法是打开要添加组件的页面的 html,然后执行 one 其中:

直接在页面添加组件:

<article data-sly-resource="${'componentName' @ prependPath='path/to/the/component'}"></article>

添加 parsys 组件,然后将组件拖放到该 parsys 上:

<cq:include path="par" resourceType="foundation/components/parsys" />

您可以根据您的具体需要以多种不同的方式在 page/template 上添加组件。