You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

23W's avatar
23W
Helpful | Level 5
8 years ago

File lock feature & Properties API

This topic continues my previous question Properties API. I tried to continue conversation there but, for some reason, my comments are not published. So I decided to start new conversation.

 

I will explain why I need the custom properties (Properties API). My application uses Dropbox as cloud storage for user files and requires file's lock feature (like in Box cloud). For example when some file shared between several users only one user can edit it and others can only view it content. Without lock feature it's not feasible. I thought to add lock information as custom properties value, but this feature should be available for any user accounts (not only in some team) because user can share folder for any Dropbox account.

 

After reading the documentation and Greg answer I understood that Properties API is accessible only for teams. Because before add properties to file, my application should register properties template.  And although properties can be used by any user type (they require only "User Authentication"), Templates are created at the team level only (for template registration the "Team Authentication" is required). So only users of same team can use properties with same template. Or not? Can somebody clarify this question?

If only same team users can use properties with same template, it's unacceptable for me. Maybe there is some other technique for implement lock feature. For example Dropbox Badge implements lock feature that is very similar to my requirements. And, as I know, Dropbox Badge can work with any accounts (not in same team) or not? Can you explain this moment.

 

Thanks in advance, I'll wait any helpful answers.

 

  • Only team members can update the file properties on a file using one of the team's property templates. Non-team members that are members of a shared folder can view the properties for a file they have access to, but they can't update it. Note that this feature is in beta though, so it is subject to change.

     

    In any case, this wasn't designed to enable file locking exactly, so I wouldn't recommend using it for that. We'll consider this a feature request for file locking though.

     

    The Dropbox badge feature is not limited to members of the same team.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Only team members can update the file properties on a file using one of the team's property templates. Non-team members that are members of a shared folder can view the properties for a file they have access to, but they can't update it. Note that this feature is in beta though, so it is subject to change.

     

    In any case, this wasn't designed to enable file locking exactly, so I wouldn't recommend using it for that. We'll consider this a feature request for file locking though.

     

    The Dropbox badge feature is not limited to members of the same team.

    • 23W's avatar
      23W
      Helpful | Level 5

      Thank you, I'll wait lock feature or some API that allow to implement lock.

      • WilliamT's avatar
        WilliamT
        New member | Level 2

        I'm new to Dropbox, a user for less than two weeks, and my team and I have already run into the problem of simultaneous edits to a file by two team members wasting time and causing comfusion.  The ability to "check out" a file for editing would be greatly appreciated.  Any suggestions or tips on how teams have managed this?  

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,911 PostsLatest Activity: 11 hours ago
333 Following

If 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!