Description Syntax Example importWebCenterResource

10-202 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

10.22.6.3 Example

The following example exports a page template from MySpace to a local file named myPageTemplateExport.ear: wls:weblogicserverConfig exportWebCenterResourceappName=webcenter, fileName=myPageTemplateExport.ear, resourceType=pageTemplate, resourceGUID=gsr47d9a5ac_7398_439a_97d2_8b54ce905f7e, spaceName=MySpace The following example exports a skin from a WebCenter Portal application named myPortalApp to a local file named mySkinExport.ear: wls:weblogicserverConfig exportWebCenterResourceappName=myPortalApp, fileName=mySkinExport.ear, resourceType=skin, resourceGUID=gsr47d9a5ac_7398_439a_97d2_8b54ce905f7e

10.22.7 importWebCenterResource

Module: Oracle WebCenter Use with WLST: Online

10.22.7.1 Description

Imports a single portal resource from a WebCenter export archive .EAR, using the filename specified.

10.22.7.2 Syntax

importWebCenterResourceappName, fileName, resourceType, [spaceName, server, applicationVersion] fileName Name of the local file to which the export will be written. resourceType Type of resource to export. Valid values include: pageTemplate, contentPresenter, pageStyle, navigation, resourceCatalog, skin, taskFlow, mashupStyle. resourceGUID Unique ID GUID of the resource to export. spaceName Optional. WebCenter Spaces only Name of the Space containing the resource to export. Use this argument to export resources that are owned by a particular Space. Omit this argument if you want to export application-level resources for WebCenter Spaces or to export resources for a WebCenter Portal application. This argument defaults to null application-level resources exported. 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 application in which to perform this operation. Argument Definition Oracle WebCenter Custom WLST Commands 10-203

10.22.7.3 Example

The following example imports a page template from a WebCenter archive named myPageTemplateExport.ear to MySpace in WebCenter Spaces: wls:weblogicserverConfig importWebCenterResourceappName=webcenter, fileName=myPageTemplateExport.ear, spaceName=MySpace, resourceType=pageTemplate The following example imports a skin from a WebCenter archive named mySkinExport.ear to a WebCenter Portal application named myPortalApp: wls:weblogicserverConfig importWebCenterResourceappName=myPortalApp, fileName=mySkinExport.ear, resourceType=skin

10.22.8 exportPortletClientMetadata