Active Query Builder support area

how to add a folder to metadatastructure?

Avatar
  • updated
  • Completed
Just like that.

Trying customize web version of Active Query Builder.
I tried:
queryBuilder.MetadataStructure.AllowChildAutoItems = false;
queryBuilder.MetadataStructure.Items.Add(new MetadataStructureItem() { Caption = "Capt"});
queryBuilder.MetadataStructure.Refresh();
and it :
1. do not show anything :(
2. cause that everything else disappear. (Meta data loaded earlier from MS SQL db)
So. I'd really appreciate an example for that simple case.
TIA.
Avatar
Andrey Zavyalov, PM
Hello, Łukasz.

We tested your code placed in the OnInit event using the _latest_ version. It works fine. Please update your version to the latest. If this doesn't help you, please send the source code of your Init event handler in full.