In the code below url should get a value that can be used to directly get a network configuration - it does not. It is null. If I look at trhe rest XML directly the data exists in the returned XML)
Ideas on how I can get at this? Is it stored in another place, or does the SDK just forget to set the property on load of the template?
Looks like a bug, can be worked around but hard because a full template get needs to be done when we know what we need (if we had the URL at this point to store off)
Tested with SDK 1.5 and 1.0 compatibility.
VappTemplate template = __getTemplateCode();
NetworkConfigSectionType networkConfigSection = template.GetNetworkConfigSection();
foreach (VAppNetworkConfigurationType vAppNetworkConfigurationType in networkConfigSection.NetworkConfig)
{
string url = vAppNetworkConfigurationType.href;
//url is null it should not be
if (vAppNetworkConfigurationType.Configuration != null)
{
NetworkConfigurationType netConfig = vAppNetworkConfigurationType.Configuration;
}
}