We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
JoelPelaezDot
6 years agoNew member | Level 2
I can add an existing member to a shared folder but folder is not available for that member
I created a folder (inside of a Team folder), shared it, and added a member (group) and getting null as a response which according to the documentation means success!. But when I log in to dropbox wi...
Greg-DB
Dropbox Community Moderator
6 years agoAdding a member/group to a shared folder via /2/sharing/add_folder_member gives them access to the shared folder, but it does not automatically start showing the folder in their file/folder listing. The shared folder would need to be "mounted" in the account first. The recipient can do so manually as covered here, or an API app can do so for the recipient by calling /2/sharing/mount_folder.
- JoelPelaezDot6 years agoNew member | Level 2
That is exactly what I am doing. 1. Sharing a folder, 2. Adding a member to a share folder.,and 3. Mounting the share folder, but here I'm getting an error saying that is already mounted. So what I do is from the dropbox UI go to Shared option (left menu) and once I add the selected folder it gets displayed under my workspace but just the folder and not the full structure (parent folder which contains the shared folder). What I am trying to achieve is something similar to what I can do on dropbox UI, which is I can share any folder inside other shared folder and add members to the lowest folder in the structure, and the member is able to see the full structure. Any help on the steps or maybe some request are not available in the Dropbox API, dropbox SDK for .Net ? Thanks
- Greg-DB6 years ago
Dropbox Community Moderator
If you're getting an error saying that the shared folder is already mounted, that indicates that the folder has already been mounted in that user's account. That could be because the user already did so manually, or by virtue of the user already having it mounted via a parent folder. For example, that could happen if the shared folder is inside a team folder that the user is already a member of. (That case is a bit of a special case, as otherwise nested shared folders, that is, a shared folder inside another shared folder, are not allowed.)
I'm not sure I understand your question from your latest comment though. When you add a group or member to a shared folder, they only get access to that shared folder and its contents, not the contents of any parent folders. In the special case mentioned above though, they may happen to also have access to the parent shared/team folder though. When using the API/SDK, you can add members or groups to either level via the same /2/sharing/add_folder_member functionality, by specifying the respective shared folder ID.
To make sure I understand what exactly you're looking to implement, could you perhaps share some screenshots showing the flow/structure you want? That may better illustrate the desired scenario.
- JoelPelaezDot6 years agoNew member | Level 2
Thanks for the reply, sorry if I was not clear enaugh.
This is what I have: In the Dropbox UI (business account, I am also the admin). I can create a basic structure of team folders: RootTeamFolder => RawImages => Country => State. At this point I can add members and permissions to all folders under RawImages, Country (viewer) and States (editor) successfully and everything is working fine. What I need to do is replicate the same scenario from the .NET SDK or APIs, I can create successfully all folders (based on the icon they are team folders), but when I share Country or State folder I am getting an error that a folder can not be shared if is inside of or contains another shared folder. My question is how is this posible for this scenario to work 100% from Dropbox UI and not from APIS, or there are other APIs not listed in the official doumentation?
Note: I can see many post where they say that the documentation is not 100% right.
About Discuss Dropbox Developer & API
Make connections with other developers
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!