cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

User can not see shared files from 3rd party integration

User can not see shared files from 3rd party integration

HaileyzComment
Explorer | Level 3

Issuu integrated Dropbox online storage natively in the UI for document upload. So, an Issuu user can select to directly access their Dropbox files and upload directly into Issuu.com from Dropbox.com. However, only the user files are showing up, and any shared files are not showing up in the Issuu integration displaying the Dropbox files. The shared files do show up in Dropbox.com. I think this might have to do with type paid plan, but I can't find any information on this. Any assistance would be greatly appreciated.

5 Replies 5

Greg-DB
Dropbox Staff

I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with:


- the name and version number of the platform and SDK/library you are using, if any
- the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s)
- the full text or screenshot of any error or unexpected output or behavior

HaileyzComment
Explorer | Level 3

Is there a help document that shows when you can view shared files in 3rd party apps and limitations based on paid plans (vs having a free plan) and account type (personal vs. team).

 

The engineer created a scoped app and tried it with Issuu permissions and later on with full permissions (this is the app: https://www.dropbox.com/developers/apps/info/o4o48we0g5tw4gd#permissions). Then the engineer used their composer to access the files using the attached html and running a local server.

 

<!doctype html>

<html lang="en">

  <head>

    <meta charset="utf-8">

    <meta name="viewport" content="width=device-width, initial-scale=1">

    <meta name="description" content="">

    <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">

    <meta name="generator" content="Hugo 0.88.1">

    <title>Grid Template · Bootstrap v5.1</title>

​

    <link rel="canonical" href="https://getbootstrap.com/docs/5.1/examples/grid/">

​

    

​

    <!-- Bootstrap core CSS -->

<link href="../assets/dist/css/bootstrap.min.css" rel="stylesheet">

​

    <style>

      .bd-placeholder-img {

        font-size: 1.125rem;

        text-anchor: middle;

        -webkit-user-select: none;

        -moz-user-select: none;

        user-select: none;

      }

​

      @media (min-width: 768px) {

        .bd-placeholder-img-lg {

          font-size: 3.5rem;

        }

      }

    </style>

​

    

    <!-- Custom styles for this template -->

    <link href="grid.css" rel="stylesheet">

  </head>

  <body class="py-4">

    

<main>

  <div id="container">

​

  </div>

​

</main>

​

​

    

  </body>

  <script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="o4o48we0g5tw4gd"></script>

  <script type="text/javascript">

options = {

​

    // Required. Called when a user selects an item in the Chooser.

    success: function(files) {

        alert("Here's the file link: " + files[0].link)

    },

​

    // Optional. Called when the user closes the dialog without selecting a file

    // and does not include any parameters.

    cancel: function() {

​

    },

​

    // Optional. "preview" (default) is a preview link to the document for sharing,

    // "direct" is an expiring link to download the contents of the file. For more

    // information about link types, see Link types below.

    linkType: "preview", // or "direct"

​

    // Optional. A value of false (default) limits selection to a single file, while

    // true enables multiple file selection.

    multiselect: false, // or true

​

    // Optional. This is a list of file extensions. If specified, the user will

    // only be able to select files with these extensions. You may also specify

    // file types, such as "video" or "images" in the list. For more information,

    // see File types below. By default, all extensions are allowed.

    extensions: ['.pdf', '.doc', '.docx'],

​

    // Optional. A value of false (default) limits selection to files,

    // while true allows the user to select both folders and files.

    // You cannot specify `linkType: "direct"` when using `folderselect: true`.

    folderselect: false, // or true

​

    // Optional. A limit on the size of each file that may be selected, in bytes.

    // If specified, the user will only be able to select files with size

    // less than or equal to this limit.

    // For the purposes of this option, folders have size zero.

    sizeLimit: 1024, // or any positive number

}

​

var button = Dropbox.createChooseButton(options);

document.getElementById("container").appendChild(button);

​

​

  </script>

​

</html>

Greg-DB
Dropbox Staff

Can you elaborate on what issue(s) you're running in to exactly? The account/plan type doesn't affect what files can be accessed in a particular account via a third party app.

 

The code you shared uses the "Dropbox Chooser", which is a pre-built component that developers can use to allow end-users to select any file(s) in their accounts, regardless of type, to use in the app.

HaileyzComment
Explorer | Level 3

As a user on Issuu.com, you can access 3rd party files online. There is an integration with Dropbox, and when we access the dropbox files, some shared files are not listed.

 

Repro steps:

  1. User with Professional account shares Word file.
  2. User with free account can see the shared Word file in Dropbox.com

Expected result:

3. Free user can see the shared Word file on issuu.com.

 

Actual result:

3. Free user can only see their own dropbox files on Issuu.com but cannot see the shared Word file on issuu.com.

Greg-DB
Dropbox Staff

Thanks for following up with the additional information. For reference, there are a few different types of sharing on Dropbox, and it sounds like you're referring to the type of individual file sharing where the recipient can access the shared file on the Dropbox web site, e.g., at https://www.dropbox.com/share/recents , but where the file isn't added to their account's file listing itself. Likewise, the recipient won't be able to see such shared files in the Dropbox Chooser. I'll pass this along as a feature request, but I can't promise if or when that might be implemented though.

 

For comparison, "shared folders" get "mounted" in the recipient's account, and would be accessible via the Chooser.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    HaileyzComment Explorer | Level 3
What do Dropbox user levels mean?