HELP! I have a page in CQ that I can not delete. I have deleted all the other pages that cascade below. I have deleted all others in the same tree..BUT I can not delete the actual page. I also have deleted everything within the page. Still no luck. When I select delete, it asks me if I am sure. I click on yes....and then "loading" spins infinitely.
Views
Replies
Total Likes
have you checked the error log? What kind of error you are getting over there?
Also make sure that the page your are trying to delete is not referenced anywhere else. In that scenario it wont allow you to delete the page.
Thanks
Tuhin
Views
Replies
Total Likes
Thanks so much for replying! I'm a newbie, so how do I check to see where it is referenced...and where the errors are? I have selected the "references" under tools but the box opens up blank. So im assuming it is not referenced. I should also qualify that I am using this tool as an admin/user, but not super user....so is there something back end that I cant access? THANKS!!!!
Views
Replies
Total Likes
As @Tuhin mentioned, please check the logs for any errors.
Also, please try once after refreshing the instance.
Thanks..I have refreshed multiple times...I have closed out and restarted AEM. I have tried for multiple days / sessions with no luck
Delete the page node under /content - that will delete the page.
Views
Replies
Total Likes
Thanks Scott!I have attempted that many times with no luck. All other pages delete fine. This one is not cooperating.
When I attempt to "move" to change the name or actually move, the "loading references" just spins and spins too...
Views
Replies
Total Likes
Tuhin Ghosh wrote...
As a last resort try to delete the page from crxde. Though its not a recommend approach but still if your only goal is to delete the page, it might help you out. Thanks Tuhin
Thanks Tuhin...Where will I find crxde?
George Arco wrote...
![]()
Tuhin Ghosh wrote...
As a last resort try to delete the page from crxde. Though its not a recommend approach but still if your only goal is to delete the page, it might help you out. Thanks Tuhin
Thanks Tuhin...Where will I find crxde?
Crxde Lite :- http://localhost:4502/crx/de/index.jsp
Go to Content/....<page you want to delete> , right click to the node and delete it and finally click save all.
Views
Replies
Total Likes
Ive attempted this with no success either....Below is the message...
ERROR:
Could not save changes. Received 403 (Forbidden) for saving changes in workspace crx.default. /var/linkchecker/.....: not allowed to remove item
Suggestions?
I take it that you have to access in nodes that you trying to delete. Now as I have mentioned, is this page of yours have been linked in any of the other pages ? In that case you might have this error. Otherwise from crxde lite you should be able to delete any pages.
Views
Replies
Total Likes
Unfortunately when I look for "references", it spins to an error. Is there another way to see what is linked and/or simply unlink without knowing? THANKS for all of your comments!
Try this code::
import javax.jcr.Repository;
import javax.jcr.Session;
import javax.jcr.SimpleCredentials;
import javax.jcr.Node;
import org.apache.jackrabbit.commons.JcrUtils;
public class DeletePage{
public static void main(String[] args) throws Exception {
Repository repository = JcrUtils.getRepository("http://localhost:4502/crx/server");
javax.jcr.Session jcrSession = repository.login( new SimpleCredentials("admin", "admin".toCharArray()));
Node yourNode = jcrSession.getNode("/content/path to the node");
yourNode.remove();
session.save();
session.logout();
}
}
There might be some syntax error as I have written it in a notepad.
make sure the imports are present.
Thanks
Tuhin
Ok...That's way over my head. Where would I place that code?
Its a java main class. you can place it in eclipse and run. If you are not a developer please get in touch with one.
Thanks
Tuhin
Views
Replies
Total Likes
Agreed..I don't want to foul up the entire site. I will send this upstream to one of the superusers, and hopefully they know what it is and can help. THANKS!!
Views
Replies
Total Likes
Hi,
Just a pointer.
Are any kind of workflows initiated on that page. The workflow might have got stuck, due to which it is preventing the page from being deleted.
Views
Likes
Replies
Views
Likes
Replies