Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Activate later only for a component

Avatar

Level 1

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

5 Replies

Avatar

Level 2

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.

Avatar

Level 10

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

Avatar

Level 1

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).

Avatar

Correct answer by
Level 10

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

Avatar

Level 1

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