Description Syntax Example deleteMetadataLabel

Metadata Services MDS Custom WLST Commands 8-15

8.4.1 createMetadataLabel

Command Category: Application Label Management Use with WLST: Online

8.4.1.1 Description

Creates a new label for the documents in the applications repository partition. This command is applicable only for repositories that support versioning.

8.4.1.2 Syntax

createMetadataLabelapplication, server, name [, applicationVersion]

8.4.1.3 Example

The following example creates the label label1 for the application mdsapp deployed in the server server1: wls:weblogicserverConfig createMetadataLabelmdsapp,server1,label1 Executing operation: createMetadataLabel. Created metadata label label1.

8.4.2 deleteMetadataLabel

Command Category: Application Label Management Use with WLST: Online

8.4.2.1 Description

Deletes a label for the documents in the applications repository partition. This command is applicable only for repositories that support versioning.

8.4.2.2 Syntax

deleteMetadataLabelapplication, server, name [, applicationVersion] listMetadataLabels Lists metadata labels in the repository partition. Online promoteMetadataLabel Promotes the metadata associated with a label to tip. Online purgeMetadataLabels Deletes the labels matching the specified criteria. Online Argument Definition application The name of the application for which a label will be created in the partition configured for this application. server The target server on which this application is deployed. If the application is deployed to multiple Managed Servers in a cluster, you can use the name of any of the server names. You cannot specify multiple server names. name The name of the label to create in the repository partition. applicationVersion Optional. The application version, if multiple versions of the same application are deployed. Table 8–5 Cont. Application Label Management Commands Use this command... To... Use with WLST... 8-16 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

8.4.2.3 Example

The following example deletes the metadata label label1 from the application mdsapp deployed in the server server1: wls:weblogicserverConfig deleteMetadataLabelmdsapp,server1,label1 Executing operation: deleteMetadataLabel. Deleted metadata label label1.

8.4.3 listMetadataLabels