Hi There,
I have a datastructure which is a self referencing hierarchy of data (structure of ClassABC where the Groups field on ClassABC has a list of ClassABC and so on). Is there any way to set the field layout settings such that it only applies to the very root of the hierarchy.
The following hides the labels, but it hides them for all levels of the hierarchy including the root...
var level = new FieldLayout {Key = "Level"}; level.Fields.Add(CommonFields.Display.GetField("Name")); level.Settings = new FieldLayoutSettings { LabelLocation = LabelLocation.Hidden}; level.Fields.Add(new Field {Name = "Groups", IsExpandable = true, Visibility = Visibility.Hidden}); return new[] {level};
I would like this to only apply to the child levels somehow.
Thank you,
Jonathan
Hello,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Yes, that worked. Kind of a hack, but it did work. Thanks