Join BoxWorks in San Francisco Nov 12-13! Keynotes, product demos, and Box Master Classes. Reserve your spot!

[.NET] Issue with QueryAsync

Answered
New post

Comments

2 comments

  • mwiller

     By default, the Search API uses some fuzzy matching to find results; if you're looking for a more exact match, you can put double-quotes around your search term:

    BoxClientCompany.SearchManager.QueryAsync(query:="""" & document_id & """", type:="folder")

     

    Does that reduce the number of search results you get? 

    0
    Comment actions Permalink
  • frederic999

    Hi,

     

    Much better. Box returns now the correct FolderID...

     

    Thanks, Fred

    0
    Comment actions Permalink

Please sign in to leave a comment.