How to activate a particular child nodes from the workflow? | Community
Skip to main content
Level 2
October 11, 2017
Solved

How to activate a particular child nodes from the workflow?

  • October 11, 2017
  • 4 replies
  • 3000 views

1down votefavorite

1

I want to activate only the modified node in my AEM project. Node structure is:

Parent Node

  • Child Node 1
    1. Child Node 4
      • Child Node 5
  • Child Node 2
  • Child Node 3
Requirement is:

For Example I can activate Child Node 5 but not Child Node 2 from the Parent Node.

Content authors should have a flexibility to only activate particular nodes they wish to push the content.

Right now we have workflows to select the pages and dam assets.  But not the nodes under the parent. Looking to know if we can add child nodes as well as the part of workflow activation?

Any Idea how to add the required child nodes to the workflow process.

         

          Thanks.

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

Hi,

The authoring UI does not allow you to replicate/activate smaller entities than pages/assets, but the API supports it.

I wouldn't give authors the chance to activate only certain components of a page, because a page has only 1 cq:lastReplicated property; and do you want to update this property for the complete page if you just replicated a component?

Also you would have to implement the complete UI plus the logic yourself.

Unless you have a very compelling reason to do it, I would not recommend such an implementation.

Jörg

4 replies

smacdonald2008
Level 10
October 11, 2017

You can only Activate content like Pages or DAM Assets. For example -- Publishing Pages

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
October 11, 2017

Hi,

The authoring UI does not allow you to replicate/activate smaller entities than pages/assets, but the API supports it.

I wouldn't give authors the chance to activate only certain components of a page, because a page has only 1 cq:lastReplicated property; and do you want to update this property for the complete page if you just replicated a component?

Also you would have to implement the complete UI plus the logic yourself.

Unless you have a very compelling reason to do it, I would not recommend such an implementation.

Jörg

October 12, 2017

Not possible using replication agent. You can write custom service for it though.

But, this is not recommended.

And if its really required, you can package the node and install it once if needed.

Level 2
October 15, 2020

You can customize the manage publication wizard for this purpose. It's quite simple and shall definitely help you meet the required functionality.