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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Stale nodes list

arnab26
Level 2
Level 2

Hi,

Is there any way to get the list of all the stale nodes in AEM6.1?

Regards,

Arnab

1 Accepted Solution
Lokesh_Shivalingaiah
Correct answer by
Community Advisor
Community Advisor

Essentially, it should update the same nodes !! If not there is some issue with your component behavior !

Also, in any case there is no way AEM list all the unused nodes, it has to be handled manually or by customized services 

View solution in original post

7 Replies
smacdonald2008
Level 10
Level 10

Can you please expand on what you mean by stale nodes.  What is your use case? 

Lokesh_Shivalingaiah
Community Advisor
Community Advisor

As @Scott mentioned, please give a specific usecase you are looking at. It depends on what you call it as stale nodes. Is it unused version nodes or unused content nodes. Each type of stale nodes should be handled in a different way. However, there is no such OOB feature to list all the stale/unused nodes.

Jitendra_S_Toma
Level 9
Level 9

@Bsloki,

May I know, How do we get list of unused nodes in the repository?.

---Jitendra

arnab26
Level 2
Level 2

We authored a component and it has created content node column1 and column2. After that we modified the authoring details and it has created two more new nodes in the page content node, but it didnt delete the previously created nodes(column1 and column2). Now how to segregate these stale nodes(column1 and column2).

smacdonald2008
Level 10
Level 10

If you know the JCR path where your component creates nodes - then write a service that deletes the nodes. 

Lokesh_Shivalingaiah
Correct answer by
Community Advisor
Community Advisor

Essentially, it should update the same nodes !! If not there is some issue with your component behavior !

Also, in any case there is no way AEM list all the unused nodes, it has to be handled manually or by customized services 

arnab26
Level 2
Level 2

bsloki wrote...

Essentially, it should update the same nodes !! If not there is some issue with your component behavior !

Also, in any case there is no way AEM list all the unused nodes, it has to be handled manually or by customized services 

 

Can you please tell me what condition is to be given while filtering the stale node. As I cant see any property difference in stale node.