cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close

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: 
Highlighted

Create Property Template in API2 Java

Explorer | Level 3

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

5 Replies 5
Highlighted

Re: Create Property Template in API2 Java

Dropboxer
Dropboxer
The endpoints for adding templates aren't currently exposed, as the feature is still in development. I'll send this along as a request for them though.
Highlighted

Re: Create Property Template in API2 Java

New member | Level 2
New member | Level 2

Any news about how can we add custom properties to a file?

Re: Create Property Template in API2 Java

Dropboxer
Dropboxer

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 

Highlighted

Re: Create Property Template in API2 Java

New member | Level 2
New member | Level 2

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?

Highlighted

Re: Create Property Template in API2 Java

Dropboxer
Dropboxer

@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.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Need more support?