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

searching for a folder

New post

Comments

1 comment

  • Murtza

     You can run an exact match search by putting your query in quotes. Please keep in mind that you have to escape the quotes with backslashes. 

     

    Here is an example using our Java SDK.

    BoxFolder rootFolder = BoxFolder.getRootFolder(api);
    Iterable<BoxItem.Info> results = rootFolder.search("\" text to find \"");
    for (BoxItem.Info result : results) {
        // Do something with the search result.
    }

     

    0
    Comment actions Permalink

Please sign in to leave a comment.