Datastructure - wrong processing "HideInOutput" setting

Datastructure with referenced children. Referenced by refId to the parent. Id is in parent structure and refId in children. When I set HiddenInOutput=true on children, all is o.k. and fields are hidden. When I set the same in parent, relation between children and parent stop work and children datastructures are empty.
Fields should hide after all inside processing - should be HiddenInOutput only.

I cannot see what HiddenInOutput means? Do you mean XmlMappingType = Hidden?

Do you miss it in Xml or Json?

Please provide some screenshots. Thanks!

Mean in datastructure option “HiddenInOutput” settings

After Id is hidden, relation between parent/child stop work. And no children data appears.
Hidden fields in output structure (especially if it is virtual structure for output) is basically great idea. But it should work only on output, within complete datastructure.

The problem is in handling the XML input from the XSL transformation. Internally we set the XmlMappingType to Hidden and use it to ommit the output in JSON and DataSet does the same for XML. That works well.

The problem is that XML loading (e.g. from XSLT) ignores the hidden fields. So when e.g. primary or foreign key is marked hidden, it will break the dataset already at load time.

The solution would be not to use the XmlMappingType = Hidden internally and move it to DataColumn.ExtendedProperties. So XmlMappingType could only be Element or Attribute (I think we still keep Hidden on the entity field level). Then we should interpret the HideInOutput really just at Json or XML rendering time.