cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

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: 

Create Property Template in API2 Java

Create Property Template in API2 Java

Ritesh
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

Greg-DB
Dropbox Staff
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.

AlexC
New member | Level 2

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

Greg-DB
Dropbox Staff

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 

Ritesh2
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?

Greg-DB
Dropbox Staff

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

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Ritesh2 New member | Level 2
  • User avatar
    AlexC New member | Level 2
What do Dropbox user levels mean?