How to add a device to a global collection using the command line interface.
Release : Any Spectrum Release.
Component : Spectrum Core / SpectroSERVER
You can add a device to a global collection using CLI with the following command:
./create association rel=staticGlobalCollects rmh=<mh of GlobalCollection> mh=<mh of device>
Here's an example:
device model handle: 0x10000d1
GC model handle: 0x100012d
With the above two model handles the command would look like the following:
./create association rel=staticGlobalCollects rmh=0x100012d lmh=0x10000d1