SharePoint Document Library Check in and Check out

In this SharePoint online tutorial, we are going to discuss about SharePoint Document Library Check in and Check out. Also, we will cover the topics below:

  • Enable the checkout feature in the SharePoint document library
  • Enable the check-in feature in the SharePoint document library
  • How to discard Check out the feature
  • Checking the changes in the version history
  • Required Check-Out in the SharePoint Document Library
  • SharePoint check-in document checked out by someone else
  • SharePoint check-in all files

Also, Read: SharePoint Calculated Column Today [With Various Examples]

Check out in SharePoint Online Document Library

Here, we will discuss check-out a file in the SharePoint document library

When the user needs to edit a file in the SharePoint document library, they need to ensure that no one else can edit that file or document by the checkout feature.

Else, if they try to make changes in a document, they receive a message as shown below:

SharePoint document library check-in and check out
SharePoint document library check-in and check out

In the SharePoint document library, once we enable the check-out feature, only we can edit it online in Microsoft 365 or offline and save the changes before checking the file back in. 

Example: We have already created a document library for RENA Technologies, a company based out in the United States of America.

Based on the business scenario, the client stored the RENA Procurement Documents in a document library, where there is a file of the Procurement Management plan when we enable check-out, after editing it we can enable the check-in feature where other users can see the changes made, and they can modify it.

Check-in in SharePoint Online Document Library

The check-in feature allows other users to edit a file else describes the process of adding a new or modified file to a SharePoint document library.

Example: We have already created a list for RENA Technologies, a company based out in the United States of America.

Based on the business scenario, the client stored the RENA Procurement Documents in a document library, where there is a file of the Procurement Management plan, where we need to do changes in the file, and no one else can make changes while we are editing it by enabling a Check-out feature.

SharePoint Document Library Check Out Settings

As per the above example of the RENA Technologies, RENA Procurement Documents in a document library, where there is a file of the Procurement Management plan we will make some changes by enabling the check-out feature.

There are two approaches:

Approach 1:

  • We have a SharePoint document library named RENA Procurements. By using this file, we will do the check-out feature.
  • Select a file of the Procurement Management plan in Semiconductor Procurement -> Select More Options
SharePoint Online document library check-in and check-out
SharePoint Online document library check-in and check-out
  • Expand More -> Select Check out
SharePoint Online document library check-in and check-out examples
SharePoint Online document library check-in and check-out examples

Approach 2:

  • Select a file of the Procurement Management plan in Semiconductor Procurement -> Select More Options on the top-left corner of the document library
Example SharePoint online document library check-in and check-out
Example SharePoint online document library check-in and check-out
  • Click on the Check out
SharePoint check-in and check-out function examples
SharePoint check-in and check-out function examples
  • Now we can see that our file has been checked out.
SharePoint document library check-in and check-out examples
SharePoint document library check-in and check-out examples
  • If we hover over the red arrow mark, we can see details that, this item is checked out, so other members can’t edit.
SharePoint document library check-in and check-out with an examples
SharePoint document library check-in and check-out with an examples
  • Let’s open the file and make some changes to it.
SharePoint Online document library check-in and check-out with an examples
SharePoint Online document library check-in and check-out with an examples
  • The changes that we made will be saved(If we’re done editing this file and we want other members to be able to edit it, we need to check in the file) 
Check-in and check-out document library in SharePoint
Check-in and check-out document library in SharePoint

This is how we can enable the file as check-out.

SharePoint Document Library Check in Settings

As per the above example of the RENA Technologies, RENA Procurement Documents in a document library, where there is a file of the Procurement Management plan we already made some changes by enabling the check-out feature, now if we want other members to be able to edit it, we need to check in the file.

There are two approaches:

Approach 1

  • We have a SharePoint document library named RENA Procurements. By using this file, we will do the check-in feature.
  • Select a file of the Procurement Management plan which is checked out, in Semiconductor Procurement -> Select More Options
Check-in and check-out document library in SharePoint Online
Check-in and check-out document library in SharePoint Online
  • Expand More -> Select Check in
Check-in and check-out document library in SharePoint Online with an examples
Check-in and check-out document library in SharePoint Online with an examples

Approach 2

  • Select a file of the Procurement Management plan which is checked out, in Semiconductor Procurement -> Select More options on the top-left corner of the document library
Example of SharePoint document library check-in and check-out
Example of SharePoint document library check-in and check-out
  • Click on the Check in
Example of SharePoint online document library check-in and check-out
Example of SharePoint online document library check-in and check-out
  • A dialog box appears with a Check-in comment, provide the comment as per the user’s requirement -> Click on the Check in button.
Check-in and check-out document library in SharePoint with an examples
Check-in and check-out document library in SharePoint with an examples
  • Now we can see that our file has been checked in.
Check in and check out document library in SharePoint Online examples
Check-in and check-out the document library in SharePoint Online examples

Now, the other members can able to edit it and check the files. This means that anyone can open and edit the file again at the same time.

Discard Check out in SharePoint online document library

Once the file, which we added to the check-out feature, we can discard the check-out.

There are two approaches:

Approach 1

  • Select the file, which has been added to check-out -> Select More Options
  • Expand More -> Select Discard Check-out
SharePoint document library discarded check-in and check-out
SharePoint document library discarded check-in and check-out

Approach 2

  • Select the file, which has been added to check-out -Select More Options on the top-left corner of the document library
Example SharePoint document library check-in and check-out
Example SharePoint document library check-in and check-out
  • Click on the Discard Check-out
SharePoint online check in and check out function examples
SharePoint online check in and check out function examples
  • A dialog box appears as if we discard the check-out, what are the changes we made will be lost -> Click on the Yes or NO button based on the user requirement.
SharePoint Online document library discarded check-in and check-out
SharePoint Online document library discarded check-in and check-out
  • Once we click on the ok button, Check-out will be discarded.
SharePoint document library discarded check-in and check-out examples
SharePoint document library discarded check-in and check-out examples

This is how we can discard the check-out feature.

SharePoint document library check in and check out the version history

In Version history, we can see the history of the user who has made changes to the item and has a comment.

  • Select the file, which has been added to check-in and check-out – Select More Options
  • Click on the Version history
SharePoint check in check out function
SharePoint check-in and check-out function
  • Now we can find the users, who have made changes to the item and has a comment. It’s the comment that we added earlier when we check in the file.
SharePoint Online check-in and check-out function
SharePoint Online check-in and check-out function

This is how we can check the changes in the version history.

SharePoint document library require files to be checked out

Here we will see, that the changes take place when we specify whether users must check out documents before making changes in this document library. 

  • Go to the SharePoint Online Library settings -> Select Versioning Settings
SharePoint document library require check out
SharePoint document library requires checking out
  • Go to Require Check Out(Specify whether users must check out documents before making changes in this document library) Yes or NO.
SharePoint Online document library require check out
SharePoint Online document library require to check out
  • If we provide a Yes
    • Create or add a file to a library: Initially, we must check the file, before others can see it and work with it.
    • Open a file for editing: When we select Edit, the file will be automatically checked out.

If we specify yes, users must check out documents before making changes with the below link provided by Microsoft Set up a library to require check-out of files.

SharePoint document library check-in document checked out by someone else

If we have permission to file or document library when need to edit a file, but if someone is already checked out a file, still if we try to edit a file, we receive a warning dialog that it is checked out to another person.

SharePoint check-in and check-out function with an examples
SharePoint check-in and check-out function with an examples

We can see who got a file checked out.

  • Select a file, which is checked out, If we hover over the red arrow mark, we can see details that, this item is checked out, so other members can’t edit and who got a file checked out.
SharePoint Online check-in and check-out function with an examples
SharePoint Online check-in and check-out function with an examples

SharePoint document library check-in all files

If there are two or multiple files checked in or need to check out, we can do them at the same time by:

  • Select multiple files in the SharePoint document library. Example: RENA Procurement
  • Click on More options available in the top-right corner of the SharePoint document library, where we can check in at the same time if multiple files are checked out.
Example of SharePoint check-in and check-out function
Example of SharePoint check-in and check-out function
  • Else, we can Check out multiple files at the same time.
Example of SharePoint online check-in and check-out function
Example of SharePoint online check-in and check-out function

Conclusion

In this SharePoint online tutorial, we discussed check-out in the SharePoint document library, Check-in in the SharePoint document library, and also we discussed

  • Enable the checkout feature
  • Enable the check-in feature
  • How to discard Check out the feature
  • Checking the changes in the version history
  • Required Check-Out in the SharePoint Document Library
  • SharePoint check-in document checked out by someone else
  • SharePoint check-in all files