Description Syntax Example exportPortletClientMetadata

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

Module: Oracle WebCenter Use with WLST: Online

10.22.8.1 Description

Exports portlet client metadata and producer customizations and personalizations, for a WebCenter Portal application. This command exports metadata for all the applications producers to a named export archive .EAR file. You cannot opt to export metadata for specific producers. Only use this command to migrate producer data associated with WebCenter Portal applications. Do not use this command for WebCenter Spaces.

10.22.8.2 Syntax

exportPortletClientMetadataappName, fileName, [exportPersonalizations, server, applicationVersion] fileName Name of the WebCenter archive file that you want to import. resourceType Type of resource to import. Valid values include: pageTemplate, contentPresenter, pageStyle, navigation, resourceCatalog, skin, taskFlow, mashupStyle. spaceName Optional. WebCenter Spaces only Name of the Space into which the resource is to be imported. Omit this argument if you want to import application-level resources for WebCenter Spaces or to import resources for a WebCenter Portal application. This argument defaults to null application-level resources imported. 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 Portal application in which to perform this operation. Argument Definition 10-204 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

10.22.8.3 Example

The following example exports portlet client metadata and producer customizations and personalizations to an export archive named myExport.ear. Personalizations are not exported. wls:weblogicserverConfig exportPortletClientMetadataappName=myApp, fileName=myExport.ear, exportPersonalizations=0

10.22.9 importPortletClientMetadata