Custom MetadataStructure
Hello,
I'm designing a custom structure in the metadata tree and I want all of my data sources to be under folders.
So I created a metadatastructure tree using MetadataStructure.Items.AddBut all databases in the MetadataContainer are also added on tree after my folders automatically at runtime.
Is there a way to show only MetadataStructure items not with MetadataContainer items?
Using the Metadata Editor tool, you should select the root item of the structure and uncheck the "Load child metadata items automatically" option for it.
If you add metadata items programmatically, you should set the AllowChildAutoItems property of the QueryBuilder.MetadataStructure object (which actually is the hidden root MetadataStructureItem node) to false.
There's an article in the Knowledge Book that briefly describes how the Database Structure tree is organized.