Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
martindart
8 years agoExplorer | Level 3
list_folder does not contain property_group
Hi, I just want to ask why Property_Group is null even though I'm expecting some values. I'm using .Net sdk - list_folder method. Please see the the image below: Thanks!
martindart
8 years agoExplorer | Level 3
Thanks! Sorry I forgot to show you that code in my last post but we were able to add the property to the file, the problem is retrieving.
The steps we did were:
upload file via /upload
update file property via /property/add
/list_folder to get the folder content with metadata.
This doesn't contain the "property_groups". However, if you use the /alpha_getmeta it will show you the file metadata together with the "property_groups".
The steps we did were:
upload file via /upload
update file property via /property/add
/list_folder to get the folder content with metadata.
This doesn't contain the "property_groups". However, if you use the /alpha_getmeta it will show you the file metadata together with the "property_groups".
Greg-DB
Dropbox Community Moderator
8 years agoApologies, I was misinformed in my last reply.
The property groups aren't supposed to be returned in list_folder (they documentation only shows it because the FileMetadata type sample itself is re-used).
The intent is that they would only be returned by get_metadata when specifying `include_property_templates`. The feature is new though, and we haven't finished rolling it out to the non-alpha endpoint. That will be coming in the future, though I don't have a specific timeline right now.
Sorry again for the earlier inaccurate information!
The property groups aren't supposed to be returned in list_folder (they documentation only shows it because the FileMetadata type sample itself is re-used).
The intent is that they would only be returned by get_metadata when specifying `include_property_templates`. The feature is new though, and we haven't finished rolling it out to the non-alpha endpoint. That will be coming in the future, though I don't have a specific timeline right now.
Sorry again for the earlier inaccurate information!
- martindart8 years agoExplorer | Level 3
Hi,
I see, no worries. Thank you very much for responding and clarification :)
Regards
- Greg-DB8 years ago
Dropbox Community Moderator
Good news, we've finished rolling this functionality out to the non-alpha endpoints, and also actually added it to list_folder as well. The updated ListFolder and GetMetadata arguments are now available in the latest version of the .NET SDK:
https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Files_GetMetadataArg.htm
https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Files_ListFolderArg.htm- martindart8 years agoExplorer | Level 3Great! Thanks for the update Greg.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!