Expand my Community achievements bar.

SOLVED

How to activate a particular child nodes from the workflow?

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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

View solution in original post

4 Replies

Avatar

Level 10

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

Avatar

Correct answer by
Employee Advisor

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

Avatar

Former Community Member

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.

Avatar

Level 2

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