VMware

This Question is Answered

2 "helpful" answers available (6 pts)
8 Replies Last post: Aug 11, 2009 9:47 AM by SteveFonden  

Changing a Configuration's Property Values posted: Aug 7, 2009 6:42 AM

Click to view SteveFonden's profile Novice 5 posts since
Aug 7, 2009

How does one change any of the properties of a Configuration and persist them to the system? Specifically, it is the "description" property that I would like to adjust for an existing, or newly captured, Configuration. I cannot determine how to do this, even with the "LabManagerInternal" WSDL, but the web application provides a property window that the user can adjust and persist so it must be possible. The only function I can find that accepts a "description" argument is the ConfigurationCopy function, but I don't think that I want to create a copy of a configuration each time I want to change the description, right?

Re: Changing a Configuration's Property Values

1. Aug 7, 2009 4:33 PM in response to: SteveFonden
Click to view Michael Ottati's profile Hot Shot 93 posts since
Jan 6, 2006

For new configurations you can use the LabManagerInternal.ConfigurationCreateEx method. That accepts a "desc" parameter.

As for modifying an existing description value, I believe you are correct, there does not appear to be a method that addresses that use case.


Re: Changing a Configuration's Property Values

3. Aug 10, 2009 7:15 AM in response to: SteveFonden
Click to view stanbinev's profile Hot Shot 122 posts since
Feb 14, 2007

Both of those take new description text as parameter.

For Checkout you can use: LabManagerInternal.LibraryCloneToWorkspace

For capture: LabManagerInternal.ConfigurationCaptureEx

Re: Changing a Configuration's Property Values

5. Aug 10, 2009 7:24 AM in response to: SteveFonden
Click to view stanbinev's profile Hot Shot 122 posts since
Feb 14, 2007
Sorry, I forgot to clarify. The mentioned methods are only available in LM 4.0.

Re: Changing a Configuration's Property Values

7. Aug 11, 2009 8:51 AM in response to: SteveFonden
Click to view stanbinev's profile Hot Shot 122 posts since
Feb 14, 2007

You might want to follow this page. The doc for the internal API will be posted there very soon.

LM SOAP API docs

Developer Social Media

Communities