내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Referenced content - Activate and Edit from the main page.

Avatar

Level 2

Hello, 
I have a page that is built with content from other pages using several reference components. But there are a couple of requirements that I'm not sure how to fulfill.
1.- When the page is activated the referenced content have to be activated as well.
2.- Authors should be able to modify the referenced content from the page.

I did some tests with reference components and none of the previous requirements are achieved. Is there any out of the box solution to do this? 
if not is there any recommended solution of this problem?

Thanks, Claudio.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Employee

Hi,

#1 will be handled by a ReferenceProvider in the next release of ACS AEM Commons: http://adobe-consulting-services.github.io/acs-aem-commons/

More information can be found in the pull request: https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/172

Regards,

Justin

원본 게시물의 솔루션 보기

3 답변 개

Avatar

정확한 답변 작성자:
Employee

Hi,

#1 will be handled by a ReferenceProvider in the next release of ACS AEM Commons: http://adobe-consulting-services.github.io/acs-aem-commons/

More information can be found in the pull request: https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/172

Regards,

Justin

Avatar

Level 2

Hi Justin,

Thanks for pointing me that project. It seems to have some interesting things.

I'm trying to find some info about how the ReferenceProvider works, but I can't find anything in the cq site. Do you know when the Providers are called?.

I copied the PagesReferenceProvider class in my project to play with it but is never called by CQ.

Thanks, Claudio.

Avatar

Level 2

Hi, 

I made that the PagesReferenceProvider work (I had an issue with ConfigurationPolicy.REQUIRE), and it works fine when I activate a page from the ui.

Is there any way to do something similar but when a page is activated through a workflow, for example the "request for activation" workflow?

Thanks, Claudio.