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

Comments Archival

Avatar

Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile

Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
Level 3

15-10-2015

Hi All,

  We are planning to implement archiving/purging of user generated comments on blog. The only approach i can think about is, "The best practice would be to make sure none of the node has more than 1000 child nodes". So i can write a event handler which will be triggered on reaching 1000 comments and deletes the oldest comment.

 Is this a good approach. I am not sure how archiving of comments happen any suggestions please!!!

Replies

Avatar

Avatar
Validate 25
MVP
bsloki
MVP

Likes

182 likes

Total Posts

1,859 posts

Correct Reply

545 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile

Avatar
Validate 25
MVP
bsloki
MVP

Likes

182 likes

Total Posts

1,859 posts

Correct Reply

545 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile
bsloki
MVP

15-10-2015

Usually UGCs will not be purged unless the blog/content itself is purged/archived. so there is nothing OOTB for this. 

If its a kind of business decision, you can handle it with the event handler as you mentioned either with the number of child nodes or based on the created date etc...