Page Export method target location | Community
Skip to main content
Level 2
October 3, 2017
Solved

Page Export method target location

  • October 3, 2017
  • 2 replies
  • 2047 views

Hi,

I am trying to export a page using Page Exporter api and by using the method export(Page page, ResourceResolver resolver, String targetPath) . I want that my zip file exported should be saved in side a crx node. How can I give a path value in this method so that my zip generated gets saved inside a node. I have tried giving the path like pageExporter.export(page, resourceResolver, "/apps/creative-exchange/content/export/createmodeldialog");  but it is giving me IllegalArgumentException exception. Can anyone help me on this. Thanks in advance

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kautuk_sahni

Can you please share the full error.log? And also try with the different path like "/var/contentsync".

~kautuk

2 replies

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
October 4, 2017

Can you please share the full error.log? And also try with the different path like "/var/contentsync".

~kautuk

Kautuk Sahni
Level 2
April 22, 2020

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