SmartPatchCatalogGroup - createGroup

SmartPatchCatalogGroup - createGroup

Description :

This command creates a Smart Patch Catalog Group with one condition. When you add a new condition, you must specify its operator type. 

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

catalogPath

String

Fully qualified path to the catalog.

catalogTypeStringString

String representation of parent catalog group.

groupName

String

Name of the smart group you want to create.

groupDescription

String

Description of the smart group you want to create.

groupTypeStringString

String representation of smart catalog group.

filterClassName

String

Fully qualified path to the object type filter.

propName

String

Property name to be used in the smart group condition.

operator

String

Operator string to be used in the smart group condition.

propValue

String

Property value to be used in the smart group condition.

Example

The following example shows how to create a smart group called Old Patches in the catalog of Hotfixes with a condition of DATE_POSTED greater than 120 days.

Script

blcli SmartPatchCatalogGroup createGroup "/Workspace/Patch Catalogs/Windows" "WINDOWS_CATALOG_GROUP" "Old Patches" "older patches" "SMART_WINDOWS_PATCH_CATALOG_GROUP" "Class://SystemObject/Depot Object/Software/Win Depot Software/HotFix" "DATE_POSTED*" "older than days" "120"
Was this page helpful? Yes No Submitting... Thank you

Comments