Folders containing the views have FQID.Kind=Kind.View

Hi everyone,

in my smartclient plugin, i am trying to find the folder list and the view list in a folder.

With foreach loops I can read the contents, but when I go to check what type of Kind they are, I cannot understand if it is a folder that contains a view, or if it is a view. In both cases I have FQID.Kind == Kind.View for folders as well.

How can I knowwhen it’s a view and when it’s a folder?

Thanks

G.

I answer myself, I looked for all the views that had a ViewItemInstance inside. To those folders I did a GetParent (), to identify which are the folders that identify the views.