I am facing trouble when trying to change (set) the property Url and UrlDescription of an Instance definition.
// Add Url and description // Not working if (URL != "") doc.InstanceDefinitions[indexOfCreatedBlock].Url = URL; if (URLDescription != "") doc.InstanceDefinitions[indexOfCreatedBlock].UrlDescription = URLDescription;
After setting, the InstanceDefinition.Url property it stays the same as before (null).
Is there something I should do to commit changes on the instance definition table? Or a method I am missing to modify this properties.