Questions tagged [lock]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
213 views

Power Automate/Sharepoint file - multiple updates, but file locks after first

I'm working on a Power Automate flow for my work. I'm pretty new to it, but I was making headway until I hit this issue. I have a button in the sharepoint library. It has three key processes Copy the ...
asw122's user avatar
  • 1
0 votes
1 answer
24 views

Across an entire SharePoint-Online/365 site: List all currently open documents + the users that have them open

I'm doing a large migration of about 150GB of files out of a single SharePoint Site (the default "Team Site" for the 365 tenant), and into separate smaller sites. I want to ensure that when ...
LaVache's user avatar
  • 143
0 votes
1 answer
276 views

Don't Automatically Open File Upon Creation in Document Library

I have a document library in SharePoint Online. I want to automatically populate the documents in the library with some metadata upon file creation using Flow/Power Automate. The problem is that ...
erik's user avatar
  • 101
0 votes
1 answer
467 views

Dealing with file locks from read-only users

At work, our team publishes a file, which we make available on Sharepoint (O365) with a fixed (permanent) filename and direct URL. We are the only ones with edit access to the file, but a few dozen ...
David White's user avatar
1 vote
1 answer
43 views

How to forbid folder deletion in SP Online document library?

I thought this information would be easy to find on google or on this site but can't find it. Sorry in advance if I missed it. I have a document library accessible by 100+ people and we decide to ...
Nico's user avatar
  • 33
0 votes
3 answers
2k views

SharePoint Online - Excel File locked by User

We have a excel file in SP Online for which Co-authoring is enabled. But very often the file gets locked that too with a particular user account. The user (on whose name it displays as locked), he ...
George's user avatar
  • 1,512
3 votes
3 answers
3k views

PowerShell script to unlock documents in SharePoint Online

I have a Document Library in which documents are required to be checked out, but when I create a new document, as Admin, I can't to check it in because certain required fields are empty and, at the ...
Emanuele Lacopo's user avatar
1 vote
0 answers
319 views

Site Collection Read-Only lock renders 'View in Browser' fail

We are on SharePoint 2016 with Office Online Server 2016. We have sites that we'd like to lock in read-only mode (per CA), but upon doing so will make the viewing the document in the browser view fail ...
Mike's user avatar
  • 12.2k
1 vote
1 answer
584 views

Excel file locked by another user

I have an Excel file shared widely on SharePoint. Most users open the document with Excel Online. A couple times, I've seen when a user opens it with the Excel client, it then locks the file for ...
Eliezer's user avatar
  • 172
2 votes
0 answers
398 views

Make column locked for editing by users in Sharepoint list

I currently have a SharePoint list that track open tickets for specific events. I have a flow that runs on this when an item is added. The flow creates an automatic due date (+5 days from when ...
CM1's user avatar
  • 21
0 votes
1 answer
2k views

this task is currently locked by a running workflow and cannot be edited. sharepoint 2013

I have a task where participant is not able to approve it. It says "this task is currently locked by a running workflow and cannot be edited" .
Arwa's user avatar
  • 135
4 votes
2 answers
2k views

Powershell Script to temporarily disable SharePoint subsite

I tried using the following script to disable one of my sub-sites: Connect-SPOService -Url https://contoso-admin.sharepoint.com -credential [email protected] I get the following error: The site is ...
mohd tahir's user avatar
  • 2,406
0 votes
1 answer
914 views

Override User's File Lock

I am have a file and a folder in two separate document libraries that I am experiencing similar issues with. They are both locked (I didn't even know folders could be locked) and I cannot unlock them. ...
mgrenier's user avatar
  • 139
0 votes
1 answer
49 views

Check-out file by users

The file is currently checked out or locked for editing by another user share point document library? None of the users locked this document. I have a farm admin account.
Sara's user avatar
  • 897
1 vote
1 answer
2k views

Locking Sharepoint column after data is input

How can I lock a column (in a list) from further changes after it is initially populated? I want to lock down the "initial due date" and only allow changes to a "revised due date" column so we can ...
Vicki H's user avatar
  • 11
2 votes
3 answers
43k views

The file is locked for shared use by domainName\user

I have a document library in a SP 2013 site. I have a document content type with a document template associated to it. Now, I have written an ItemUpdated event receiver which will update the document ...
Ven's user avatar
  • 1,137
1 vote
2 answers
1k views

Enforce File/document locking in Sharepoint 2013

I currently received a request in which the document/folder should be locked after (x)days (after the created date). Is it possible to enforce document/folder locking?
Neon's user avatar
  • 11
6 votes
2 answers
2k views

Can we unlock a ShortTerm lock via CSOM for SP2013

We are using SP2013 with OWA installed. Users often complain about a file stored in SharePiont being locked by another user not in office. Error is "The file "xxxx" is locked for exclusive use by ...
Mark L's user avatar
  • 4,055
2 votes
0 answers
53 views

List locked. SSIS copy from Sharepoint to SQL Server

I have an SSIS package that copy data from the Sharepoint List to MS SQL table. It work's fine. But yesterday I have an issue that package is getting stuck in validating the data flow. Maybe ...
Vitaly Ascheulov's user avatar
1 vote
2 answers
1k views

Remove locked file (locktype=Shared)

there is a file I want to delete but it is locked. I see with powershell that the lock type is Shared. >$item = $web.GetListItem('pathtomyfile') >$item.file.locktype >Shared Can I change or ...
Gyonder's user avatar
  • 1,183
1 vote
1 answer
173 views

SPFile.LockId property some clarification

SPFile.LockId property: whenever somebody checked out file it will be locked automatically, is that correct? then what will be the value of LockId property at that time? secondly, what is the default ...
SPBeginer's user avatar
  • 2,547
1 vote
1 answer
329 views

The file <filename> is locked for editing by user <username>. OWA cannot preview it too

On our SP2013 on-premises environment. We have OWA installed. Recently Excel file (.xlsx) is locked and prompt for the error at title. We confirmed the opened the file 2 days ago. At this moment, ...
Mark L's user avatar
  • 4,055
1 vote
1 answer
2k views

Release Client Side Lock by Javascript

I am having problems with the Client Side lock events of SharePoint 2013. When an user edits the document and closes it. The Client Side lock of SharePoint is working on that document. Is it possible ...
pipelinecache's user avatar
7 votes
7 answers
55k views

Cannot delete document, error: The file is currently checked out or locked for editing by another user

I am using SP 2013 on-premise. I have an document library named Documents. I have added a new Word document. I try to remove this document, but it gives me an error: Het bestand is momenteel ...
Ola's user avatar
  • 4,395
12 votes
5 answers
95k views

The file "[file name]" is checked out or locked for editing even though no one has it open

I get the following error when I try to check out a document from a document library in SharePoint that has been recently edited: The file "[file name]" is checked out or locked for editing by "[...
skeletank's user avatar
  • 2,157