Hi All
Struggling a bit trying to work out how to view a vApps metadata entries. At the moment just trying to get a list of key/values. I've gotten as far as:
Vapp vapp = Vapp.GetVappByReference(client, vAppRef); Metadata md = vapp.GetMetadata(); Dictionary<string, string> mdDict = md.GetMetadataEntries();
But apparently my dictionary is empty
I can obtain a list of the metadata keys by doing:
List<MetadataEntryType> mdList = md.GetTypedMetadataEntries(); foreach (MetadataEntryType mdEntry in mdList) { Response.Write(mdEntry.Key); }
But thats all I can get. No values - what am I doing wrong?
Thanks!
Mark