We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.

Forum Discussion

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

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.
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    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

      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 Staff rankDropbox Staff

        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 & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,875 PostsLatest Activity: 5 hours ago
325 Following

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

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!