Struggling with this seemingly trivial issue of identifying a Documents Library from the of LISTS obtained via
endpoint (for Sharepoint Online)
Could you please point to a field name that would serve the purpose?
I came across 2 fields
Gets the list definition type on which the list is based. Represents a ListTemplateType value. See ListTemplateType in the .NET client object model reference for template type values.
Gets the base type for the list. Represents an SP.BaseType value: Generic List = 0; Document Library = 1; Discussion Board = 3; Survey = 4; Issue = 5.
I thought they would help me identify Document Library easily, but the issue is that the value which identifies a Document Library is also true for certain lists which I am not interested in.
How can I identify just the Document Library with actual files and folders?
Also, I tested out the
ListItemEntityTypeFullName field, but I can't rely on it as it changed with diff locale settings like
How can I identify legit Document Libraries(with actual files and folders) on a particular site?