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
skaros
8 years agoHelpful | Level 6
dropbox programmatically get "app folder" path
Hi,
Is it possible to get the current path to the application folder I am using for my "App Folder" application?
I know i could insert "/Apps/MyAppFolderName/" but this might change in the future, if I manually change my apps settings.
Thanks
- No, the Dropbox API doesn't expose a way for apps with the app folder app to query their full app folder path.
The API is designed such that apps shouldn't need to know their own app folder path though. I.e., when such an app references a path using the API, the API automatically translates the root to be the app folder root on the backend.
That being the case, can you elaborate on what your use case for this is?
- Greg-DBDropbox StaffNo, the Dropbox API doesn't expose a way for apps with the app folder app to query their full app folder path.
The API is designed such that apps shouldn't need to know their own app folder path though. I.e., when such an app references a path using the API, the API automatically translates the root to be the app folder root on the backend.
That being the case, can you elaborate on what your use case for this is?- skarosHelpful | Level 6
Well, it is not really a major issue for me, I just thought it would be usefull.
The reason I would use it, is to inform the user for the complete path to a file that was just uploaded using my app.
The thing is that I am still on development, so i am not sure if the path name will change according to any customer feedback. In that case I would have to change the App folder path within my code. Small price to pay though.
Thanks
- Greg-DBDropbox StaffThanks!
By the way, for reference, the path is also localized for accounts in other languages, and users can move and rename app folders whenever they want.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 5 hours 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!