since ‎22-04-2020
‎18-05-2020
Ankita_Aggarwal
Level 1
Re: Page Exporter API target location Ankita_Aggarwal - Adobe Experience Manager
Hi, i wrote some backend logic to download the zip in my local and it worked. Thanks everyone..
6012
Views
0
Likes
0
Comments
Re: Rewriting Image and links url while page export Ankita_Aggarwal - Adobe Experience Manager
Thanks. It worked.
2455
Views
0
Likes
0
Comments
Re: Page Exporter API target location Ankita_Aggarwal - Adobe Experience Manager
export method is throwing WCM exception. I am unable to find out the reason.Here is my code snippetMap param = new HashMap();param.put(ResourceResolverFactory.SUBSERVICE, "dataread");resourceResolver=null;resourceResolver=resolverFactory.getServiceResourceResolver(param);//urlString 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"...
6784
Views
0
Likes
0
Comments
Re: Page Exporter API target location Ankita_Aggarwal - Adobe Experience Manager
i need to download the zip via sling servlet invoking, so curl wont help.
6858
Views
0
Likes
0
Comments
Re: Page Exporter API target location Ankita_Aggarwal - Adobe Experience Manager
can you please share the complete command which i can use in this scenario.
7027
Views
0
Likes
0
Comments
Page Exporter API target location Ankita_Aggarwal - Adobe Experience Manager
HiI 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
7955
Views
0
Likes
8
Answers and Comments
Re: Unable to rewrite links during page export Ankita_Aggarwal - Adobe Experience Manager
your solution worked. Thanks, but my zip file instead of getting downloaded at the target location is getting downloaded under /var/contentsync folder. i even tried by deleting the nodes under /var/contentsync folder, but no luck. Please help,. Thanks a lot
6169
Views
0
Likes
0
Comments
Re: Unable to rewrite links during page export Ankita_Aggarwal - Adobe Experience Manager
Thanks for your suggestion. it worked.
6171
Views
0
Likes
0
Comments
Re: Unable to rewrite links during page export Ankita_Aggarwal - Adobe Experience Manager
please find the extracted file. English EnglishFrançaisEnglishService ComponentHelloWorldModel says:Hello World!This is instance: e7c910c1-98e5-4540-976c-419b14436600Resource type is: demo/components/content/helloworldLorem ipsumLorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lor...
6286
Views
0
Likes
0
Comments
Re: Unable to rewrite links during page export Ankita_Aggarwal - Adobe Experience Manager
yes. But, how to share the exporter zip here.
6294
Views
0
Likes
0
Comments
Unable to rewrite links during page export Ankita_Aggarwal - Adobe Experience Manager
Hi I am working on a page export functionality in aem 6.3. I am able to export page into a zip file along with the clientlibs and assets.clienlibs and assets are reflecting proper on the page, except for the page logo and links.For link to work, it should refer the path such as :-"http://localhost:4502/content/demo/en.html"but, its referring path as below :-"file:///C:/Users/admin/Downloads/maximHtml%20(4)/content/demo/fr.html" Secondly, logo is following the correct path, but logo present in th...
6311
Views
0
Likes
7
Answers and Comments
Re: Rewriting Image and links url while page export Ankita_Aggarwal - Adobe Experience Manager
Thanks for your reply. I will surely try this.One more thing, same thing is happening with my links.Link should refer to "http://localhost:4502/content/demo/en.html"but, instead, its referring to"file:///C:/Users/admin/Downloads/maximHtml/content/demo/fr.html" Thanks in advance. Ankita
2302
Views
0
Likes
0
Comments
Rewriting Image and links url while page export Ankita_Aggarwal - Adobe Experience Manager
Hi All, I am able to export page into a zip file with required clientlibs and assets.Clientlibs are reflecting on the page perfectly, but assets are not, they are not referring the correct path , where they are downloaded in the zip file, instead they are pointing to the path, when an asset is placed on a page.For example: Image should refer path "\content\dam\demo\image.png"but , its referring path is"/content/demo/en/_jcr_content/par/image.img.jpg/1588834659990.jpg" Please help. ThanksAnkita
3926
Views
0
Likes
4
Answers and Comments
Re: Page Exporter API Ankita_Aggarwal - Adobe Experience Manager
Yes, it should create a zip with all the reference file and should get stored at the specifies location.
3143
Views
0
Likes
0
Comments
Re: Page Export method target location Ankita_Aggarwal - Adobe Experience Manager
Are you able to download the zip file via export method, with clientlibs and assets??Whenever i hit that method, it gets downloaded in crxde , that too without clientlibs and assets. Ankita
1213
Views
0
Likes
0
Answers
Page Exporter API Ankita_Aggarwal - Adobe Experience Manager
I need to export page as zip file programatically and i used Page Exporter interface and its export(page, resourceResolver, targetPath) method, but, its not happening.I found the zip file under /var/contentsync node, but that has only html in it, no clientlibs, no assets.I tried to delete the nodes under /var/contentsync, but of no use. ThanksAnkita A
3166
Views
0
Likes
3
Answers and Comments