Hi Roberth I had read about that action in a tech bulletin however it doesn't work in my case.
That action will update the contents of a GC that has been previously set up correctly and it mimics the action of selecting "Update Collection" from the GC right click menu option. I am looking for an action code that mimics selecting the OK button from the "Edit Collection" option screen. This has the effect of populating the octet string attribute dynamicCriteriaFindSpec (0x12a69) based on the text string attribute dynamicCriteriaXML (0x12a6a). If anyone has a method of translating the XML to the octet string then I would be interested in that as an alternative. Regards, John -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 24 November 2008 08:41 To: spectrum Subject: SV: [spectrum] Creating Global Collections using CLI Updatecollection action: $VNMDIR/update action=0x100f6 mh=$COLLECTIONMH /Roberth Edberg -----Ursprungligt meddelande----- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Skickat: den 22 november 2008 12:51 Till: spectrum Ämne: Re: [spectrum] Creating Global Collections using CLI Hi John, list, probably you have to trigger a dedicated action on the gc model (update action=0x... mh=0x...) to initiate the update process. We recently learned a similar thing with SPM tests and editing internal attributes not being written to the testhosts until a custom action was performed. So as you told, basicly the action is like pressing the OK button. You would need to contact CA support and ask pointing to that direction. Of course I would be interested in such action code, too (-; Mit freundlichen Gruessen - Best regards Raphael Franck Senior System Engineer Customer Support Group Phone: +49 2273 597 7842, Mobil: +49 173 6806997 Email: [EMAIL PROTECTED] Europaring 34-40, 50170 Kerpen, Germany Computacenter AG & Co. oHG, mit Sitz in Kerpen (Amtsgericht Köln HRA 18096) Vertretungsberechtigte Gesellschafter: Computacenter Aktiengesellschaft, mit Sitz in Köln (Amtsgericht Köln HRB 28384) Vorstand: Oliver Tuszik (Vorsitzender), Hans-Georg Freitag, Frank Kottmann Aufsichtsrat: Michael Norris (Vorsitzender) Computacenter Management GmbH, mit Sitz in Köln (Amtsgericht Köln HRB 28284) Geschäftsführer: Dr. Karsten Freihube, Hans-Georg Freitag, Ulrich Irnich, Frank Kottmann, Reiner Louis, Jürgen Stauber, Oliver Tuszik Visit us on the Internet: http://www.computacenter.de Visit our Online-Shop: https://shop.computacenter.de This email is confidential. If you are not the intended recipient, you must not disclose or use the information contained in it. If you have received this mail in error, please tell us immediately by return email and delete the document. "John O'Mahony" <[EMAIL PROTECTED] ft.com> To "spectrum" 21.11.2008 18:40 <[email protected]> cc Please respond to Subject "John O'Mahony" [spectrum] Creating Global <[EMAIL PROTECTED] Collections using CLI ft.com> Hi we have a requirement to create a large number of Global Collections and I am looking at ways to automate this. To begin with I am trying to use CLI but am open to any suggestions of other ways to achieve this. My main question is whether anyone has managed to successfully create dynamic GCs using CLI? I am able to create the GC no problem but getting it to populate dynamically is where I'm a bit stuck. As an example I use the following to create a GC to populate with all port models: create model mth=0x10474 attr=0x1006e,val=TestGC attr=0x12a6a,val="<equals><model-class>15</model-class></equals>" This creates the GC no problem and it appears under the Global Collections in the Navigation panel. However it does not start dynamically collecting ports until I right click on the GC, select Edit Collection and then select OK. Once I do this then all port models appear in the GC. The one difference I have noticed once I have done this is that the GC model has populated the dynamicCriteriaFindSpec attribute. For example 0x12a69 dynamicCriteriaFindSpec 0.0.0.0.B9.79.37.9 E.1C.0.0.0.0.0.E8.1E.1.0.3.0.0.0.0.F.0.0.0.1.0.0.0.0.0.0.0.0.0.0.0 I believe this field is dependent on the contents of the dynamicCriteriaXML attribute (0x12a69) which I populate when creating the GC above. However trying to work out what gets put into this Octet String might be a challenge :-( Does anyone know if there is a way, such as an update action, to tell the GC to start collecting? Alternatively if anyone has suggestions for alternative ways to do this then I would appreciate any input. Cheers, John --To unsubscribe from spectrum, send email to [EMAIL PROTECTED] with the body: unsubscribe spectrum [EMAIL PROTECTED] --- To unsubscribe from spectrum, send email to [EMAIL PROTECTED] with the body: unsubscribe spectrum [EMAIL PROTECTED] --- To unsubscribe from spectrum, send email to [EMAIL PROTECTED] with the body: unsubscribe spectrum [EMAIL PROTECTED] --- To unsubscribe from spectrum, send email to [EMAIL PROTECTED] with the body: unsubscribe spectrum [EMAIL PROTECTED]
