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);

 

 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    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

      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.5,941 PostsLatest Activity: 6 days ago
351 Following

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!