Welcome to the new Box Support website. Check out all the details here on what’s changed.

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.