Deleted page from author | Community
Skip to main content
AEMLearner-1989
Level 4
Jul 28, 2017 6:51 AM UTC
Solved

Deleted page from author

Hi Friends,

Is there any possibility to deactivate the page in publisher once author delete the page in author environment.

Scenario:

Some author deleted the page directly from author without deactivating it.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Techaspect_Solu
Techaspect_SoluAccepted solution
Level 7
Jul 28, 2017 7:31 AM UTC

Hi sathya,

I would suggest to create a content package from the author instance and replicate it from the package manager.

So the content will be in sync on both publish and author.

Thanks,

Techaspect Solutions.

19 replies

AEMLearner-1989
Level 4
Aug 3, 2017 12:51 PM UTC

kellenr28685265​ Yeah.. but we are having more than 1000 pages on publisher server...

Translate
kellenr28685265
New Participant
Aug 2, 2017 4:12 PM UTC

We used to experience this. Have you tried creating a blank page with the same URL and publishing it? Then, you should be able to deactivate it and delete it properly. We called them ghost pages.

Translate
viveksachdeva
New Participant
Aug 1, 2017 10:06 AM UTC

Yeah. Event handler should work

Translate
AEMLearner-1989
Level 4
Aug 1, 2017 9:22 AM UTC

Oh great..but we are currently on aem 6.0 so I need to implement some alternate method to deactivate the page if author delete it from author instance...

Page event will it work??

Translate
viveksachdeva
New Participant
Aug 1, 2017 9:09 AM UTC

Take a look at http://aempodcast.com/2016/aem-resources/deactivate-delete/#.WYBFHRJ96Ax  . I tried it on 6.3.. It seems that the feature has been implemented and now if I delete a page from author it is removed from publish as well

Translate
Level 4
Aug 1, 2017 7:50 AM UTC

No You are wrong, Before deactivating a page if user deletes a page it will be available in publish even it's not available in author.

You can try this scenario in your local environment.

Translate
viveksachdeva
New Participant
Aug 1, 2017 2:15 AM UTC

I think this one is the correct answer...

Translate
AEMLearner-1989
Level 4
Jul 31, 2017 11:41 AM UTC

No , I can see the difference...

If i run a query , in author the page count is 3000+  but publisher the page count is 4000+

Translate
Level 4
Jul 31, 2017 8:50 AM UTC

Try below steps-

Create a new  page with same name and activate that page to publish instance.

Now deactivate the same page.

It will remove the page already created from publish server as well.

Translate
Prince_Shivhare
New Participant
Jul 29, 2017 6:52 AM UTC

You should restore the pages in using classic ui console.

check this: Recovering Deleted Pages - Content Management System - Simon Fraser University


and then see if it works you.

Translate