Determine Referenced Pages when Deleting a Page | Community
Skip to main content
Level 4
February 22, 2017
Solved

Determine Referenced Pages when Deleting a Page

  • February 22, 2017
  • 8 replies
  • 9090 views

Is there an OOTB way to determine where a page is being referenced in AEM?

Here is what I did to reproduce:

Delete a page that is being referenced by other pages.  You receive a message that says this page is being referenced by other pages.

Our authors cannot delete the page without knowing which page(s) reference it.

Thank you in advance for your help.

-Dean

Best answer by Prince_Shivhare

Hi,

You can check the pages which is being referenced by other pages by using classic UI console.

go to: http://localhost:4502/siteadmin

1) Select the page and click on tool.

2) Click on references.

see attached "reference.PNG".

In AEM classic UI, if you have to delete a page, you should move first. then it will show you the reference pages. uncheck the referenced pages and rename the page which you want to delete. and then delete the page.

~ Hope this will help you.

 

~ Prince

8 replies

Prince_Shivhare
Community Advisor
Prince_ShivhareCommunity AdvisorAccepted solution
Community Advisor
February 22, 2017

Hi,

You can check the pages which is being referenced by other pages by using classic UI console.

go to: http://localhost:4502/siteadmin

1) Select the page and click on tool.

2) Click on references.

see attached "reference.PNG".

In AEM classic UI, if you have to delete a page, you should move first. then it will show you the reference pages. uncheck the referenced pages and rename the page which you want to delete. and then delete the page.

~ Hope this will help you.

 

~ Prince

Prince_Shivhare
Community Advisor
Community Advisor
February 22, 2017

Also once you click on move, it also shows you the referenced pages.

~ Prince

Prince_Shivhare
Community Advisor
Community Advisor
February 22, 2017

attachement.

Level 4
February 22, 2017

Prince,

When I do this in the classic UI, the option "References" is grayed out.

-Dean

Var
Level 4
February 22, 2017

@Dean,

There are two changes for "References" is grayed out.

  1.  Did you click/select on the right panel page?

Example if as shown in below image if i click on left panel till /content/geometrixx/en/toolbar and doesn't select any page on the right panel i cannot see "References" enabled

     2. if the "References" is grayed out that means you don't have sufficient privileges. what is the user you logged in?

Prince_Shivhare
Community Advisor
Community Advisor
February 22, 2017

Please select the page from right panel.

and click on tool bar .. you will see references...

 

~ Prince

Var
Level 4
February 22, 2017

Touch UI console operation when you perform Move operation on a page which has references to other content paths, you can find the list of references as shown below screenshots.

~ Var

Prince_Shivhare
Community Advisor
Community Advisor
February 22, 2017

Hi Dean,

I think you got the resolution.

please let us know if you have any query. Or close this thread by marking answer.

 

~ Prince