You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
tartarian
5 years agoExplorer | Level 4
Java API search not including PropertyGroups
Hello, I'm trying to use the Java API to search for files and to leverage PropertyFields as custom "tagged info" on each file. I've noticed that the search results don't include any PropertyGroups (w...
- 5 years ago
No, unfortunately searchV2 doesn't offer a way to include file properties in the results like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
There is a propertiesSearch method, if that helps for your use case, but note that only allows you to directly search for files with a specific file property value, and not, say, a filename like you can with the normal search functionality.
Greg-DB
Dropbox Staff
No, unfortunately searchV2 doesn't offer a way to include file properties in the results like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
There is a propertiesSearch method, if that helps for your use case, but note that only allows you to directly search for files with a specific file property value, and not, say, a filename like you can with the normal search functionality.
tartarian
5 years agoExplorer | Level 4
Hi Greg,
Is it only the Java implementation that doesn't include property groups or is it the same for all APIs? I noticed that the HTTP API shows an example result that includes the property_groups but it sounds like that might just be a mistake. https://www.dropbox.com/developers/documentation/http/documentation#files-search
Regards
- Greg-DB5 years agoDropbox Staff
The Java SDK (and the rest of the SDKs) all use the same HTTP API. The example in the documentation for the HTTP API itself is incorrect in this case. (The documentation sometimes re-uses example objects across endpoints, which in this case is wrong because the example happens to include 'property_groups', though the search endpoint itself doesn't actually have an option to include that in reality.) I'll ask the team to fix that up in the documentation. Thanks for pointing that out!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months agoIf 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 or Facebook.
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!