MetaDataFilterItem - Can this filter fields? E.g I have a table [User] with a field [password] which I wish to hide.
I have tried the following in C#
MetadataFilterItem metaFilter;
metaFilter = qbQuery.MetadataLoadingOptions.MetadataFilter.Add();
metaFilter.Exclude = true;
metaFilter.ObjectTypes = MetadataType.Field;
metaFilter.Object = "Password";
metaFilter.CaseSensitive = false;
However I still see the field in the object right pane and designer.
Please replace your code with the following:
MetadataFilterItem metaFilter;
metaFilter = qbQuery.MetadataLoadingOptions.MetadataFilter.Add();
metaFilter.Exclude = true;
metaFilter.Object = "User";
metaFilter.Field = "Password";
metaFilter.CaseSensitive = false;