I bound "[EditorDescriptor(EditorDescriptorType = typeof(WindowOpenEditorDescriptor))]" on the property ContactDepartments in "KontaktaossPage" like this:
Then I use modifyMetadata as follows：
But the metadata.ContainerType is wrong like the picture above, it should be "typeof(KontaktaossPage)".
The result of this code executed in CMS10 is correct, but when I upgrade to CMS11, the result is as above. I don’t know if CMS11 has made any changes.
The result in CMS10 is as follow:
I think you can try with this metadata.Parent.Model in the CMS11
I don't know why the parent is null