How to activate a particular child nodes from the workflow?

Avatar

Avatar

vijayab54674650

Avatar

vijayab54674650

vijayab54674650

11-10-2017

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
Employee

11-10-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

Answers (3)

Answers (3)

Avatar

Avatar

Bid_Amit

Avatar

Bid_Amit

Bid_Amit

15-10-2020

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

Avatar

Avatar

digitalect-expe

Avatar

digitalect-expe

digitalect-expe

12-10-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.

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

11-10-2017

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