Copy entire WCM library : WCM 8

There was no direct way to copy the entire WCM library earlier (One of possible ways that I tried to copy the site content is posted couple of years back).

But with WCM 8, you can create the copy of the entire WCM library using simple ConfigEngine tasks (Similar to one used for import/export).

ConfigEngine.bat export-library-copy -DLibraryPath=path_to_export_file -DLibraryName=library_name_to_export -DWasPassword=password -DPortalAdminPwd=password

ConfigEngine.bat import-library-copy -DLibraryPath=path_to_export_file -DLibraryName=library_name_to_import -DWasPassword=password -DPortalAdminPwd=password

  1. When you export a library as a copy, new IDs are generated for all items in the library. This ensures that there are no conflicts with existing libraries or items when you import the copy into a web content server that already contains the original library. In this way, you can perform multiple imports to the same web content server, resulting in a new library for each import.

Please refer to Info center link provided below for more information.


No comments:

Post a Comment