Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

Search On Doc ID

New post

Comments

2 comments

  • Jason

    Hey , 

     

    Thanks for the message! Box Certified Professionals don't often make their way over to the Dev Forums -- welcome! Happy to help!

     

    The Search API is definitely the way to go, especially if you have metadata! What you'd do is make the Search API call with the mdfilters parameters to filter by metadata, and then filter your results by those Doc IDs. You may need to paginate that search result, and depending on how many Doc IDs you have and how many items have that metadata applied to them, it may be easier to do it the gross way. If you script it up, hopefully, it wouldn't be too bad!

     

    What you couldn't do is search for doc IDs, unfortunately. 

     

    Thanks,

    Jason

    0
    Comment actions Permalink
  • The_Kid

    I tend to slide and work between the two worlds. 🙂

     

    Ok, quick follow up question then. Using mdfilters can I submit multiple values for a single field? So if I have a field like customer ID and have multiple values I want to filter on will mdfilters allow me to submit an array or range of filters instead of filtering on one customer ID at a time?

    0
    Comment actions Permalink

Please sign in to leave a comment.