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
toki4004
2 years agoHelpful | Level 5
Way to search by property value?
I am assigning a custom property value to a file. Is there a way to search by it? I don't see property groups in your search example for:
https://api.dropboxapi.com/2/files/search_v2
How do I ma...
- 2 years ago
For searching by file property value, use /2/file_properties/properties/search instead: https://www.dropbox.com/developers/documentation/http/documentation#file_properties-properties-search
Greg-DB
2 years agoDropbox Staff
No, that functionality doesn't offer a path filter, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
- toki40042 years agoHelpful | Level 5
Ok, I am thinking that to get around it, I would have to create a separate template id for each path and then limit search to that template ID via "template_filter": "id_here". BUT then I might run into "too_many_templates" error. How many is too many? What's that number?
- Greg-DB2 years agoDropbox Staff
We don't have the specific number documented, but alternatively you can use /2/file_properties/properties/search as-is and filter the results in your code based on the returned PropertiesSearchMatch.path field.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,885 PostsLatest Activity: 4 hours 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!