Create a Global Collection

You can create a global collection and can set the search criteria in a CLI session using GUID. A unique identifier (GUID) is a key attribute to create global collection. The GUID is required for global collection to function properly. You can obtain a GUID through an action to the VNM model.
csp
You can create a global collection and can set the search criteria in a CLI session using GUID. A unique identifier (GUID) is a key attribute to create global collection. The GUID is required for global collection to function properly. You can obtain a GUID through an action to the VNM model.
A global collection without a GUID in the CLI is invalid. When a global collection is created using OneClick, a GUID is automatically created. For more information, see the Modeling and Managing Your IT Infrastructure section.
Follow these steps:
  1. Enter the following command:
    update action=(Action to get a unique identifier) 0x10474 mh= (VNM Model Handle)
    A GUID is created.
    The action to get a new GUID is 0x10474, which is the same as the global collection model type.
  2. Enter the following command to create the global collection using GUID:
    create model mth=(Model Type for global collection) 0x10474 attr=(GUID) 0x12e56, val=(Previous value you received) 4a85b9af-0d52-1000-017f-0013727f8c0a
    The Global Collection is created and appears in the Navigation pane under global collections.
Example: Create a global collection with or without XML string
Enter the following command to create a global collection with or without XML string:
update action=(Action to get GUID)0x10474 mh=(Landscape) Printed: update action: successful Response has 1 attributes: 0) Attribute 0x0 text: EXAMPLE GUID(4a85b9af-0d52-1000-017f-0013727f8c0a) create model mth=(Model Type for global collection)0x10474 attr=(GUID)0x12e56,val=(Previous value you received)4a85b9af-0d52-1000-017f-0013727f8c0a attr=(dynamicCriteriaXML)0x12a6a,val=(XMLString)'<search-criteria><filtered models><equals-ignore-case><model-name>sometext</model-name></equals-ignore-case></filtered-models></search-criteria>' Printed: created model handle = New model handle(0x78101069)
You can specify the dynamicCriteriaXML (0x12a6a) attribute with the create command or you can update the model later.