VMware Cloud Community
macado
Contributor
Contributor
Jump to solution

get Notes Annotations using com.vmware.library.vc.customattribute

I'm using VMware Orchestrator to create a workflow to automatically fill in custom attributes (annotations) as part of my VM provisioning process however I can't seem to find a way to set or get the value of the Notes field.

Any ideas? I'm assuming it is pulled from somewhere else

var vmNotes = System.getModule("com.vmware.library.vc.customattribute").getCustomField(vmObject, "Notes");

Doesnt work.

0 Kudos
1 Solution

Accepted Solutions
macado
Contributor
Contributor
Jump to solution

0 Kudos
1 Reply
macado
Contributor
Contributor
Jump to solution

Sorry answered my own question

Re: Write Annotation of VirtualMachineConfigInfo

0 Kudos