Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hi,
I want to save some custom properties to a file that I upload. It appears that in order to add property/property groups, I need to supply a template Id but I'm not able to find a way to create/add a template using the Java SDK. Can you provide some pointers on the process for creating templates?
Thanks
Any news about how can we add custom properties to a file?
Yes, this functionality is now available. You can find the documentation for them in the Java SDK here, starting under "propertiesAdd":
https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.0.x/
The other official SDKs also have methods for these.
Or, if you're not using an SDK, you can find the corresponding HTTP endpoints documented here:
https://www.dropbox.com/developers/documentation/http/documentation#file_properties
It appears that the apps with "app folder" permissions are not allowed to use these endpoints. What are apps like those supposed to do if they want to add file properties?
@Ritesh2 Unfortunately, the file properties functionality is not support for apps with the app folder permission. I'll send this along as a feature request for support for that, but I can't promise if/when that would be implemented.
If you need to use the file properties functionality, you'll need to register a new app with the "Full Dropbox" permission.
Hi there!
If you need more help you can view your support options (expected response time for a 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!