Description Syntax Example listMetadataLabels

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

Command Category: Use with WLST: Online

8.4.3.1 Description

Lists all of the metadata labels in the applications repository partition. This command is applicable only for repositories that support versioning.

8.4.3.2 Syntax

listMetadataLabelsapplication, server [, applicationVersion]

8.4.3.3 Example

The following example lists the metadata labels available for the application mdsapp deployed in the server server1: wls:weblogicserverConfig listMetadataLabelsmdsapp, server1 Executing operation: listMetadataLabels. Database Repository partition contains the following labels: label2 label3 Argument Definition application The name of the application from whose associated partition the label is to be deleted. 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 delete in the repository partition. applicationVersion Optional. The application version, if multiple versions of the same application are deployed. Argument Definition application The name of the application for which all of the labels in the repository partition should be listed. 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. applicationVersion Optional. The application version, if multiple versions of the same application are deployed. Metadata Services MDS Custom WLST Commands 8-17

8.4.4 promoteMetadataLabel