Page Export method target location

Avatar

Avatar

rohits64600205

Avatar

rohits64600205

rohits64600205

03-10-2017

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

961

Correct Answer

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

961

Correct Answer

1.1K
kautuk_sahni
Community Manager

03-10-2017

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

~kautuk

Answers (1)

Answers (1)

Avatar

Avatar

Ankita_Aggarwal

Avatar

Ankita_Aggarwal

Ankita_Aggarwal

22-04-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