Hi Zach!
Try to split up the generation of the deviceChange Array, rather than relying on the onyx action (have a look at the action, quite simple to understand what it’s supposed to do...)
So a
var myDeviceChange = new Array();
var configSpec = new VcVirtualDeviceConfigSpec();
.....
myDeviceChange.push(configSpec);
spec.deviceChange = myDeviceChange;
You can also System.debug()-out the variables in between to make sure that the spec has the proper format...
Cheers,
Joerg
Von: Zach Milleson communities-emailer@vmware.com
Gesendet: Freitag, 22. Februar 2013 22:41
An: Joerg Lew
Betreff: Re: Change VM's video card settings New message: "Change VM's video card settings" Re: Change VM's video card settings
VMware Communities<http://communities.vmware.com/index.jspa>
Change VM's video card settings
created by Zach Milleson<http://communities.vmware.com/people/millesonz> in Orchestrator - View the full discussion<http://communities.vmware.com/message/2200139#2200139