Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

How to activate a particular child nodes from the workflow?

vijayab54674650
Level 2
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
Jörg_Hoh
Correct answer by
Employee
Employee

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
smacdonald2008
Level 10
Level 10

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

Jörg_Hoh
Correct answer by
Employee
Employee

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

digitalect-expe
Level 2
Level 2

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.

ABid2
Level 1
Level 1

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