Description Syntax Example importGroupSpaces

10-200 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

10.22.4.3 Example

The following example exports two Space templates mySpaceTemplate1 and mySpaceTemplate2 from a WebCenter Spaces application named webcenter. wls:weblogicserverConfig exportGroupSpaceTemplatesappName=webcenter, fileName=myExport.ear, names=mySpaceTemplate1, mySpaceTemplate2

10.22.5 importGroupSpaces

Module: Oracle WebCenter Use with WLST: Online

10.22.5.1 Description

WebCenter Spaces only Imports one or more Spaces or Space templates from a WebCenter export archive.

10.22.5.2 Syntax

importGroupSpacesappName, fileName, [importCustomizations,importSecurity, importData, parentSpace, forceOffline, server, applicationVersion] names Names of the Space templates that you want to export. Separate multiple template names with a comma. 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. Argument Definition appName Name of the WebCenter Spaces application in which to perform this operation—always webcenter. fileName Name of the WebCenter archive file that you want to import. importCustomizations Optional. Indicates whether to import customizations from the WebCenter export archive. Valid values are 1 and 0. When set to 0, customizations are not imported, that is, default task flows are imported without any customizations and the default Space settings are used. This argument defaults to 1. importSecurity Optional. Indicates whether to import Space member details from the WebCenter export archive. Valid values are 1 and 0. When set to 1, roles and permissions for the Space, as well as member details and their role assignments are imported. When set to 0, only the roles and permissions are imported. This option is useful when migrating between stage and production environments and where member details, added during the testing phase, are no longer required. This argument defaults to 1. Argument Definition Oracle WebCenter Custom WLST Commands 10-201

10.22.5.3 Example

The following example imports Spaces or Space templates from a WebCenter archive named myExport.ear to a WebCenter Spaces application named webcenter. wls:weblogicserverConfig importGroupSpacesappName=webcenter, fileName=myExport.ear

10.22.6 exportWebCenterResource