Skip to Main Content
Spotfire Ideas Portal
166 VOTE
Status Likely to implement
Product Spotfire
Categories Library
Created by Guest
Created on Nov 27, 2018

Lock DXP for Editing

Need dxp files to be locked when editing, so others can not overwrite changes that someone else has made.  In other applications, when a user opens a file, it will lock the file so nothing else can save over it until the lock is released. We need to prevent loss of work due to multiple people working on the same file. 

  • Attach files
  • Guest
    Reply
    |
    Dec 12, 2022

    Hi Miguel,


    fully agree that we need to avoid that files will be permanently locked and that there must be an alternative for unlocking. It is probably fine to allow other users with write access to release the lock and not limit this to an admin. However, it must be clear to those users who created the lock and that they consciousnessly release it and it should be separated from saving the file.

    On the other question how to create the lock: users should be able to open a file either in edit mode (default) or read-only mode and the lock should be created automatically when doing the former.

    Finally, this functionality should be only a first step towards being able to collaboratively work on a file similar to what is normal in code development (see https://ideas.tibco.com/ideas/SPF-I-4925)

  • Admin
    Miguel Díez
    Reply
    |
    Dec 9, 2022

    Hi Christian,

    Yes, the lock is normally released when the user saves or closes the file. But, in many systems, sometimes that does not happen (the user never saves/closes the file) and the files are left locked for other users. Therefor, I think it should exist a clear alternative way for unlocking: either let other users with write permissions to release the lock or only allowing an admin to release that lock.

    Another question is how the lock is set. Would it be another step independent of opening a file (as in another tools where I've seen this pattern)? Or would it be automatic lock once the user opens the file and changes to edit mode?

    We need to think carefully about this, since we do not want to introduce more steps on every operation, neither introduce possible bottlenecks.

  • Guest
    Reply
    |
    Dec 8, 2022

    Hi Miguel,

    I agree that simply locking a file and then potentially forgetting it, wouldn't be the best solution. But if a user with edit rights opens the file in Analyst or Business Author this could trigger a lock until the file is closed again. And when other users with edit rights want to open the file in the meantime, they should see the lock either in the library browser before opening the file or within the file when it is open. And an admin or someone with full control in the corresponding folder of the library could remove the lock if needed. Would that work?

  • Admin
    Miguel Díez
    Reply
    |
    Dec 8, 2022

    Hi,

    I see this idea is getting some traction.

    I have to say that this feature is controversial. If a user sets a lock on a library item, that blocks any other user for doing contributions. Some old applications (e.g. MS SharePoint) have this lock mechanism and often it is considered as a bottleneck that stops team members for contributing because often some user forgot to release the lock.

    Maybe it could be useful if other users can do a "force write" to override a previous lock from some other user. In that case, it is a conscious decision and avoids locking the whole team when someone forgets to release a lock.

    What are your thoughts?


  • Guest
    Reply
    |
    Nov 19, 2021

    Hope this happens with Library version control that is being planned.!

4 MERGED

Open an Analysis in read Only (as Excel) if this analysis is already opened by an other user and Inform the 2nd user

Merged
Open an Analysis in read Only (as Excel) if this analysis is already opened by an other user and Inform the 2nd user that the analysis is already opened.
over 7 years ago in Spotfire / Library 0 Likely to implement
9 MERGED

Add security to prevent multiple users from being in a file at one time

Merged
As the application is currently designed it is possible for multiple users to be in a DXP file at the same time, and whoever saves last "Wins". This shouldn't be possible.
almost 8 years ago in Spotfire / Library 0 Likely to implement
7 MERGED

Write protect items in the library

Merged
We have lots of users that have access to the library. The reason is that we do quite specialised analysis of experimental data and a lot of users have to create their own analysis files, so they also need the ability to move around items, delete ...
almost 7 years ago in Spotfire / Library 1 Likely to implement
1 MERGED

Prevent dxp files from being opened by multiple users at the same time

Merged
Dear Developers, Is it possible to restrict files being opened ( from filesystem resp. library ) by one user at a time only? In other words, to have a functionality that would lock/restrict an analysis file to be accessed by a single user in Edit ...
about 5 years ago in Spotfire / Library 0 Likely to implement