We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
elsigh
5 years agoHelpful | Level 5
Sharing - how to share a folder with edit access when don't know my friend's dropbox user id?
I have an App built on the Dropbox API (https://songdocs.io).
I want to send a link to a folder to a friend, and I know I can get a shared link (which gives anyone with it view permissions) and...
- 5 years ago
The 'sharing_info' is only set on a folder if the folder is itself shared as a shared folder (or is inside a shared folder). Note that this is different than the kind of sharing offered by /2/sharing/create_shared_link_with_settings. Calling /2/sharing/create_shared_link_with_settings for a folder will not make it a "shared folder"; it only creates a "shared link" for it.
To first share the folder as a shared folder, so that it will receive 'sharing_info' with a 'shared_folder_id' that you can then use with /2/sharing/add_folder_member, you should first call /2/sharing/share_folder.
elsigh
Helpful | Level 5
Hey Greg-DB - I've changed our app back to the full dropbox permission for now, but I have a couple more challenges trying to implement the approach we outlined before.
I'll start with this one since it would give two users a shared-editable folder:
Use case: User #1 adds User #2 to a folder by email in our App
- User #1 creates a new folder (we do it in /Apps/Songbook.Studio/${newFolderName})
- User #1 tries to invite User #2 by email to that folder using sharingAddFolderMember, but we’re stuck without sharing_info.shared_folder_id
- The folder metadata has no sharing_info key on it. I’ve tried called sharingCreateSharedLinkWithSettings in advance. The only way I can seem to get sharing_info to be populated is if User #1 goes to the Dropbox client and adds any user by email there.
Greg-DB
5 years agoDropbox Staff
The 'sharing_info' is only set on a folder if the folder is itself shared as a shared folder (or is inside a shared folder). Note that this is different than the kind of sharing offered by /2/sharing/create_shared_link_with_settings. Calling /2/sharing/create_shared_link_with_settings for a folder will not make it a "shared folder"; it only creates a "shared link" for it.
To first share the folder as a shared folder, so that it will receive 'sharing_info' with a 'shared_folder_id' that you can then use with /2/sharing/add_folder_member, you should first call /2/sharing/share_folder.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months agoIf 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!