Description Syntax Examples exportWebCenterApplication

Oracle WebCenter Custom WLST Commands 10-197

10.22.1 exportWebCenterApplication

Module: Oracle WebCenter Use with WLST: Online

10.22.1.1 Description

WebCenter Spaces only Exports a WebCenter Spaces application to a WebCenter export archive .EAR using the filename provided.

10.22.1.2 Syntax

exportWebCenterApplicationappName, fileName, [exportCustomizations, exportSecurity, exportData, server, applicationVersion]

10.22.1.3 Examples

The following example exports a WebCenter Spaces application and all possible data to a file named myExport.ear. wls:weblogicserverConfig exportWebCenterApplicationappName=webcenter, fileName=myExport.ear, exportCustomizations=1, exportSecurity=1, exportData=1 The following example exports a test application with the intention of importing the resultant EAR to an alternative system with a different user base. In this case, security policies which might reference users or roles specific to the originating server are not required. Additionally, data created during testing such as lists, Space events, links, tags is not required. wls:weblogicserverConfig exportWebCenterApplicationappName=webcenter, fileName=export.ear Argument Definition appName Name of the WebCenter Spaces application in which to perform this operation. fileName Name of the export archive EAR file to which you want the export to be written. exportCustomizations Optional. Valid values are 1 true and 0 false. When set to 1, all application customizations are exported. When set to 0, application customizations are not exported, that is, default task flows are exported without any customizations. This argument defaults to 1. exportSecurity Optional. Valid values are 1 true and 0 false. When set to 1, policy-store.xml contains application roles and permissions, as well as user details and their role assignments. When set to 0, policy-store.xml contains application roles and permissions only. User details are not exported. This argument defaults to 0. exportData Optional. Valid values are 1 true and 0 false. When set to 1, data stored in the WebCenter Spaces database for lists, events, tags, and links is exported. When set to 0, this data is not exported. This argument defaults to 0. server Optional. Name of the managed server where the WebCenter application is deployed. For example, WC_Spaces. Required when applications with the same name are deployed to different servers and also when you have a cluster. applicationVersion Optional. Version number of the deployed application. Required if more than one version of the WebCenter application is deployed. 10-198 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

10.22.2 importWebCenterApplication