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

Publish/unpublish history

JoseBerciano
Level 3
Level 3

Hi

Is there any way of checking if a page was unpublished before it was published? I took a look to the restoring tools but I could not find a way of telling if a previous version of a page was actually published or not.

Regards,

Jose.

1 Accepted Solution
Jörg_Hoh
Correct answer by
Employee
Employee

That's a hard thing, and you probably need to start to process the audit log entries.

If you have this requirement, I would either put all activation into a workflow and add some information to a page node before/after it is activated. Or you can listen to replication agents and act accordingly. I am not sure if you can do that out of the box.

Jörg

View solution in original post

6 Replies
Veena_Vikram
Community Advisor
Community Advisor

Hi Jose

    I am not sure if I understood your question correctly. A page will create versions only when it is published . Any versions for the page you see would be a published version at any point of time.

Thanks

Veena

Diego_Fontan
Level 4
Level 4

As @Veena_07 said, any publication generates a new version of the content, besides you, can also manually generate more version of the content.

In term of restoring, you only have to pick the version that you need, and then publish the version selected otherwise the previous content will stay in publishing.

JoseBerciano
Level 3
Level 3

@Veena_07 and @Diego_Fontan thanks for you replies.

This is not quite what I am looking for. Yes, when publishing a page AEM generates a version of it, but lets say I have 10 pages, 5 unpublished, 5 published. I make changes to all of them, and publish these 10 pages.

What I am looking for is to restore the previous state in which 5 of them were unpublished. But this info, which one were unpublish is unknown.

Does that help to understand my initial question?

Thanks.

Jörg_Hoh
Correct answer by
Employee
Employee

That's a hard thing, and you probably need to start to process the audit log entries.

If you have this requirement, I would either put all activation into a workflow and add some information to a page node before/after it is activated. Or you can listen to replication agents and act accordingly. I am not sure if you can do that out of the box.

Jörg

View solution in original post

Diego_Fontan
Level 4
Level 4

I recommend following some of the ideas suggested by Jörg Hoh for exception situation, otherwise, you should have to create something custom but it won't be easier.

Best Regards

Diego

Veena_Vikram
Community Advisor
Community Advisor

I totally agree with Jörg Hoh . As I said before unpublished page doesn't have any versions managed. For such requirement where to avoid unauthorized publish, we put in Workflows , where reviewers will review the content before final publish.