We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

dani-uyr's avatar
dani-uyr
Explorer | Level 3
7 years ago

C# SDK - Is there a way of restricting a property search to a start path?

Hi all,

 

We have a problem where we need to restrict a property search to a start path just like a normal search, code below (C Sharp):

 

//Here we set a path to search from

var search = await client.Files.SearchAsync(path, "test");

 

//Here we need to set a path to restrict users from seeing images they shouldnt but currently i don't think there is.

var searchProperties = client.FileProperties.PropertiesSearchAsync(searchQueries);

 

 

2 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    7 years ago
    No, the Dropbox API property search doesn't offer a way to restrict the search to a specific path, but I'll pass this along as a feature request.
  • dani-uyr's avatar
    dani-uyr
    Explorer | Level 3
    7 years ago

    Hi thanks for your reply! Searched everywhere to see if there was so i thought i would ask here.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,037 PostsLatest Activity: 6 hours ago
412 Following

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 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!