Message Boards

Exporting Document Library as a LAR file

Chandrashekar NM, modified 5 Years ago.

Exporting Document Library as a LAR file

New Member Posts: 24 Join Date: 4/30/15 Recent Posts

Hello,

I have exported the document library within a site as a lar file. When I try to import the same in a different site, I am seeing that only the latest version of a document is available and not all the versions.

Please let me know if it works like this only[latest version is only exported] or are there any setting/configurations that should be made to export all the version of a particular document.

My requirement is that I need to move all the documents from one site to different site with all the versions.

have also tried the Export/Import option under Publishing section of a site.

Thanks & Regards,

Chandra

thumbnail
Jorge Díaz, modified 5 Years ago.

RE: Exporting Document Library as a LAR file

Liferay Master Posts: 753 Join Date: 1/9/14 Recent Posts

Hi Chandra,

 

That behavior (exporting only last version) is the correct behavior.

As far as I know, this behavior is not configurable.

 

Perhaps you can modify current logic implementing a custom FileEntry data handler, that behavior was added here:

Reverting that change should change current behavior.