Hi
I need to export my entire website and for that i am using export method of page exporter API
export(page, resourceResolver, target location).
My pages are getting exported inside /var/contentsync folder in crxde itself. i need it in my local machine.
I deleted /var/contentsync folder and then also, i am unable to download the zip in my local.
please help.
Thanks,
Ankita
Solved! Go to Solution.
Views
Replies
Total Likes
you can download pages over request using export selector with zip extension.
https://helpx.adobe.com/experience-manager/6-2/sites/administering/using/page-exporter.html
You can create a package once the content once /var/contentsync and then download package using curl/Java/UI.
Views
Replies
Total Likes
you can download pages over request using export selector with zip extension.
https://helpx.adobe.com/experience-manager/6-2/sites/administering/using/page-exporter.html
You can create a package once the content once /var/contentsync and then download package using curl/Java/UI.
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
export method is throwing WCM exception. I am unable to find out the reason.
Here is my code snippet
Map<String,Object> param = new HashMap<String,Object>();
param.put(ResourceResolverFactory.SUBSERVICE, "dataread");
resourceResolver=null;
resourceResolver=resolverFactory.getServiceResourceResolver(param);
//url
String url="content/demo/en";
Resource resource=resourceResolver.resolve(url);
page=resource.adaptTo(Page.class);
resp.setContentType("application/zip");
resp.setHeader("Content-Disposition", "attachment;filename=maximHtml.zip");
pageExporter.export(page, resourceResolver, "C:\\Users\\admin\\Downloads");
log.info("zip is sent");
Views
Replies
Total Likes
Views
Replies
Total Likes
I wrote a small app recently that does this so I could debug a product issue with content-sync. You can download it here:
The app is under /apps/test/test.jsp
You run it by going to /apps/test.html
Views
Replies
Total Likes