When a page is activated through siteadmin, how to also activate all associated content of the page (like other pages associated to it) | Community
Skip to main content
Level 3
August 29, 2017
Solved

When a page is activated through siteadmin, how to also activate all associated content of the page (like other pages associated to it)

  • August 29, 2017
  • 2 replies
  • 1930 views

Hi All,

Whenever we activate a page from siteadmin, it opens a dialog box with the list of assets which are not activated and provides us an option whether to activate it or not.

I want to expand this functionality to other pages, which are being used on that page(which I have clicked to be activated).

Any suggestion/ help would be appreciated.

Regards,

Aman

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

You need to implement a ReferenceProvider[1]; see [2] as an example in ACS AEM Commons how to implement it for referenced pages (see [3] how to use it).

[1] ReferenceProvider ("The Adobe AEM Quickstart and Web Application.")

[2] acs-aem-commons/PagesReferenceProvider.java at master · Adobe-Consulting-Services/acs-aem-commons · GitHub

[3] Page and Design Reference Providers

Jörg

2 replies

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
August 29, 2017

You need to implement a ReferenceProvider[1]; see [2] as an example in ACS AEM Commons how to implement it for referenced pages (see [3] how to use it).

[1] ReferenceProvider ("The Adobe AEM Quickstart and Web Application.")

[2] acs-aem-commons/PagesReferenceProvider.java at master · Adobe-Consulting-Services/acs-aem-commons · GitHub

[3] Page and Design Reference Providers

Jörg

Level 3
September 14, 2017

Thanks, will check this and get back, for any further queries.