Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

etylsarin's avatar
etylsarin
New member | Level 2
9 years ago
Solved

Dropbox Chooser - how to exclude file by name (or mask)

Hi,

 

is there a way how to exclude a specific file from being available in Dropbox Chooser JavaScript API?

I would like to disallow the file "get started with dropbox.pdf" as some users choose it instead of a "real" one.

 

Cheers!

  • The Chooser doesn't offer any options quite like that (you can only select specific file extensions to allow), but I'll be sure to pass this along as a feature request.

3 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago
    The Chooser doesn't offer any options quite like that (you can only select specific file extensions to allow), but I'll be sure to pass this along as a feature request.
  • etylsarin's avatar
    etylsarin
    New member | Level 2
    9 years ago

    Thanks Greg,

     

    btw is the DB chooser script source somewhere on your github so I can create a fork in the meanwhile?

     

    Cheers!

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago

    The JavaScript file for interacting with the Chooser is here, but that won't enable you to add the functionality you want, as the Chooser itself is actually a page on dropbox.com using server-side code.

About Dropbox API Support and Feedback

Node avatar for Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!