Sorry if I’m wrong, but it appears as if the “kind name” is missing from the
Hashtable VideoOS.Platform.Kind.DefaultTypeToNameTable [static]
If I loop through all the items (to build a XML document tree) on my test site then I get an error when I try to fetch the kind name for the metadata items.
Of course I can just skip that “kind” - anyway the even checking IsBuiltInKind doesn’t indicate I shouldn’t look it up in the table?
newAttr = doc.CreateAttribute("NodeKind");
if (VideoOS.Platform.UI.Util.IsBuiltInKind(item.FQID.Kind))
{ newAttr.Value = VideoOS.Platform.Kind.DefaultTypeToNameTable[item.FQID.Kind].ToString(); }
else
{ newAttr.Value = "Unknown"; }
AXMLNode.Attributes.Append(newAttr);
