Activate later only for a component | Community
Skip to main content
October 16, 2015
Solved

Activate later only for a component

  • October 16, 2015
  • 5 replies
  • 1493 views

AEM allows to schedule an activation of a page (Activate Later). What is the function or possible workaround to do the same on the level of a component? Means the page is already activated and the goal is to activate/deactivate a component afterwards.

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 edubey

Okay, well thanks for nice explanation,

From the statement here " This has been already prepared but should go online activated by the system in the future"

Have you looked into Launch in AEM? where you can prepare future content. Its very userful for these kind of future related implementations

AEM 5.6.1: http://localhost:4502/libs/launches/content/admin.html

Documentation: https://docs.adobe.com/docs/en/cq/5-6-1/wcm/launches.html

5 replies

October 16, 2015

You can consider making the component as a stand alone page fragment and then pull that into your target page asynchronously using JS. Now you can use activate later OOTB on the component(page fragment) and it'll get reflected on the target page.

edubey
October 16, 2015

You can use Activate Tree option, In replication menu you can find it.

You can use replication in crxde ( screenshot) 

Or Create a package with this, build it and replicate it via package manager.

Can you tell why you are having this use case where page is there and you need to activate/deactivate component?

Thanks

Marcel_72Author
October 16, 2015

The purpose is a marketing campaign. The page is already online we need the ability to schedule some additional content on the page. Let's say to switch a banner on a stage image, replace a teaser image or just add some additional text paragraphs. This has been already prepared but should go online activated by the system in the future. The function "Activate Later" does not work for us, because we don't want to replace the entire page with a new version (Activate Later creates a new version of the page).

edubey
edubeyAccepted solution
October 16, 2015

Okay, well thanks for nice explanation,

From the statement here " This has been already prepared but should go online activated by the system in the future"

Have you looked into Launch in AEM? where you can prepare future content. Its very userful for these kind of future related implementations

AEM 5.6.1: http://localhost:4502/libs/launches/content/admin.html

Documentation: https://docs.adobe.com/docs/en/cq/5-6-1/wcm/launches.html

Marcel_72Author
October 16, 2015

Thanks! The Launch function seems to be a valid option for us :-) We will try it.