As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [versioning]

Versioning enables you to store, track, and restore items in a list and files in a library as they are changed.

Filter by
Sorted by
Tagged with
0 votes
1 answer
18 views

Can we define a default value for the number of major versions inside our SharePoint libraries for new and existing libraries

When we create a new SharePoint site and/or new document libraries, they will have their number of default major versions to 500 so is there a way to change this number to be 50 instead of 500 and ...
0 votes
2 answers
3k views

How to display items of all versions in a custom list?

Is there anyway to achieve that? I want a view showing all versions of items in given list. say: ID Version Content 1 1 aaa 1 2 bbb 1 3 ccc 2 1 ddd 3 ...
3 votes
1 answer
3k views

Access Old Version File objects with CSOM

I created a WCF service that uses Client-side Object Model (CSOM) to query file information from a SP Document Library. I need to create a List<File> with all the files associated with all the ...
5 votes
1 answer
2k views

Error Occured While trying to restore minor version SharePoint 2013 Doc lib

I was trying to restore the version of the document in doc lib to previous minor versions, but I encountered the following error: Then i went to logs and searched for Correlation id and found the ...
0 votes
1 answer
3k views

Update editor of published version without affecting version number - CSOM

I am trying to copy files from one site collection to another including their version history and preserve the metadata using CSOM. I am almost there using the below logic for each version of the file....
2 votes
2 answers
5k views

Prevent a group from deleting document version history

In a Document/Form Library with versioning enabled (SP 2010), it is possible to delete all versions of a particular document/form simply by going to the "Version History" dialog box. This ability ...
0 votes
2 answers
2k views

How to download the historical minor version of a file in the SharePoint folder using REST API (and C#.Net)

I need to download the Older-Minor version of a File(.docx/.excl etc) inside the SharePoint folder using REST API. The URL would be: https://BaseURL/sites/SubSite/_api/web/GetFileByServerRelativeUrl('/...
1 vote
3 answers
2k views

Avoiding Minor/Major limits errors

I have a SharePoint online document library, and we have enabled minor and major versioning, now some documents will be edited by many users, so we are expecting that the Major (50,000) & Minor (...
1 vote
1 answer
1k views

Rejecting an approved document will hide it from the visitor users even if there is a previous approved version for the document

I am facing a critical problem inside my SharePoint document library. here is the scenario:- I have a team site collection inside SharePoint 2013. i add a document library inside the Team site. I ...
0 votes
0 answers
1k views

We're sorry, we encountered an unexpected error. Please refresh the page and try again

When I try to choose a saved template to create a new page, page auto saves which creates multiple duplicates in site page library. When i click on save as draft it throws error box: Changes not saved ...
0 votes
1 answer
2k views

How can I add the Version number AND Date to the footer of a document?

I've already figured out how to add the Version number using the method below: https://www.ilikesharepoint.de/2014/06/sharepoint-display-sp-version-number-in-a-word-document/ However, I need to ...
0 votes
1 answer
24 views

Can I change how frequently document versions are created?

I have several files (report drafts) located in a document library. Various teams collaborate on these documents continuously, meaning we blow through versions very quickly. Due to server space ...
2 votes
2 answers
3k views

How to overwrite version of a file using CSOM?

When I check in as a major version or minor version, it creates the new version as a major. Below is the code: private static void UploadFiles(string sourceFileUrl, Folder targetFolder, string ...
2 votes
1 answer
3k views

Sharepoint Online - Disable Versioning, or force onedrive to not clone objects

We reached Sharepoint Online storage limit because of versioning size of non-Office files. OneDrive on Mac (or sharepoint) is just cloning files as revision so e.g. i have a ~400MB file with 40 ...
0 votes
2 answers
2k views

SharePoint limits for major and minor versions

I am reading the SharePoint limits inside this link @ sharepoint-online-limits, where it says the following: Versions 50,000 major versions and 511 minor versions. So what will happen if the major or ...
0 votes
1 answer
657 views

What will happen if we change the number of versions to be 100 instead of 500 to utilize our storage

Inside our SharePoint Online tenant we want to free some space, and inside our document libraries we have set to keep that latest 500 versions, as follow: Now if we set the number of versions to be ...
1 vote
1 answer
14k views

unable to edit a document online. Error "Upload Failed the minor version limit has been exceeded"

Some users has received the following error when they try to edit some documents inside online sharepoint site:- now based on my knowledge what we can control inside the document library's versioning ...
0 votes
2 answers
68 views

Versioning of documents

I was working on the approval process of a SharePoint document. I did the following: Check out the document Make necessary changes to the document Check-in the document as a Minor version (draft) 3.1 ...
1 vote
0 answers
582 views

Restore List item to the older version using CSOM C# approach

we need to restore list items from a particular list (not document library) to the older version but what i can understand is for document libraries we do have that provision like Item.File.Versions....
0 votes
0 answers
6 views

How to synchronise renamed files between Sharepoints?

I have a Flow which detects changes or creation of files in a repository and, after a filtering, copies them to a different Sharepoint, including metadata. However I was informed that users in the ...
0 votes
2 answers
106 views

Versioning - possible to remove overwrite possibility when checking in a file?

I want to know if it is possible to remove this option from checking in files?
0 votes
1 answer
81 views

Version comment when adding a document version

I would like to add a version comment in version history. I have a file in a library with all it properties entered. I then draw a new version of the file over the library windows and add a new ...
0 votes
1 answer
17 views

Always display current version of image on SharePoint page

I have an image captured out of an email and added to my Content Library every morning. Then I want to display that image dynamically on my SharePoint page. The issue I am having is that it will ...
24 votes
2 answers
58k views

how do I view the older version of the document without restoring?

If I add version to my documents and later on want to retrieve copy of an older version, how do I do that without restoring the older version? In my document library there is a file "test" that has ...
1 vote
1 answer
505 views

Different column view for Folders vs Files in Document Library

I have a document library that contains 4 folders. Each folder contains files that need to be approved or rejected. Therefore, I have versioning settings turned on so I can capture approvals in the &...
0 votes
1 answer
441 views

SharePoint Rest API to select Url from File Version

I have used the following URL: https://xyz.sharepoint.com/teams/Analytics/_api/web/GetFolderByServerRelativeUrl('/teams/Analytics/Shared%20Documents/DataMaster')/Files('Transaction.xlsx')/versions ...
0 votes
0 answers
23 views

Current Item:Version has wrong version number in SP 2010 workflow

I have a workflow on a library. It first checks if the Current Item:Version ends in ".0" (to see if it's a major version). I have a Log statement at the beginning of the workflow to record ...
0 votes
1 answer
145 views

SharePoint 2013: Latest version of file not showing latest changes

There is a file called xyz.xlsx with version 1 in a document library in SharePoint 2013. a user checks out this xyz file, opens it in excel, makes some changes, saves and checks the file back in. ...
2 votes
3 answers
848 views

How to create view, group by or filter on publish status?

I created a document library. The library has the following version settings below. I have some documents which are published and have a major version. Other documents are draft and has a minor ...
0 votes
1 answer
28 views

Sharepoint versioning omitting versions / automatically merging

To anyones knowledge, does sharepoint somehow omit versions, or merge them, once they "repeat"? I have a sort of linear approval workflow. Approver A fills in some data, changes the value in ...
0 votes
1 answer
131 views

How to find the user who has created a draft item in a SharePoint list

I am trying to find out the name of a user who has changed something in an SP list. I am calling this API: https://tenant.sharepoint.com/sites/sitename/_api/web/lists/getbytitle('listname')/Items(ID)/...
1 vote
1 answer
3k views

Why is my create "Multiple lines of text" column missing append changes choice field even with versioning?

SharePoint 2013/365 I'm trying to create a "Multiple lines of text" column with the append changes setting. This requires that you have versioning turned on. What happened to multiple lines of text ...
0 votes
2 answers
36 views

Document library keeps forgetting its settings

I have a document library on a SPO site which I need to customize. I want it to have the following settings: Require content approval for submitted items? Yes Require documents to be checked out ...
121 votes
15 answers
118k views

How can you move a document with its version history to a new library?

Here's the scenario: 2 document libraries Both contain multiple documents The documents have multiple versions When I copy a document from library A to Library B using the Content and Structure tool ...
0 votes
1 answer
701 views

How to recover a SharePoint list using the version history in Sharepoint Online?

How to recover a SharePoint list using the version history in SharePoint Online? I have a list which I have deleted a few records. How can I recover them using version history?
4 votes
3 answers
9k views

Copy file using javascript client object model - new version

I have a solution that adds a custom button to the ribbon in SharePoint 2010 and am using the javascript client object model behind the scenes to copy a file from Library A to Library B when the ...
0 votes
1 answer
218 views

Powershell: Check if page has unpublished version?

How can I use PowerShell to check if the latest version of a publishing page has been published?
1 vote
1 answer
730 views

Why more than 500 versions are getting created even limit is set

there is an issue where in a document library the default limit for number of versions for a document is 500 but its still creating more than 500 versions for a document. Did u guys see this issue ...
0 votes
2 answers
511 views

After a MAJOR version is created, how do I retrieve previous minor versions

I had a Word file on a SP team site. When 500 minor versions accumulated, it would not accept further edits UNLESS a MAJOR version was started from the same file. I did that. Now the version is 1.1. ...
0 votes
1 answer
30 views

Version history not saving properties

I have 3 environments on which I have Versioning turned on. Each of them is created from the same PnP template, and has the same logicApps/etc connected to them. On one of them however, version ...
2 votes
1 answer
406 views

PowerShell PnP Unable to get file versions in big files

I'm using OneDrive (office 365 account) as a cloud backup, and I got a problem with the versioning system as for big files (outlook .ost and .pst mainly) it keeps generating new versions for the file ...
0 votes
2 answers
31 views

What do I need to do to enable version control?

I have full control on SharePoint site and have enabled Version Control on my list, however I do not see any versions when I click on the ellipsis next to my list in Site Contents. What else do I ...
0 votes
2 answers
114 views

Rename "Version comments" inside the document library's Upload.aspx page

When i open the Upload.aspx page for an online document library inside a new tab , i will get these fields:- My question is if i can rename the "Version Comments" field? i access the ...
0 votes
1 answer
1k views

OneDrive Sync with SharePoint is showing the files in Read-Only mode

We have a document library inside our online classic team site, and it has a custom content type which mimic the built-in Document content type:- Also we have the following versioning settings:- Now ...
0 votes
3 answers
5k views

Is there a way to stop editing an item when the approval status is pending in SP online list-i.e. submitted for approval?

Is there a way to stop editing an item when the approval status is in the pending mode in SharePoint Online list? i.e. restrict users to change an item when it is waiting for the approval process. I ...
0 votes
1 answer
36 views

What happens if multiple changes are made on an item of a SP list which has approval process in place

I have developed some flow in MS flow for managing some SP lists. MS flow sends an approval email to the admin for a change.If users keep editing the item the admin recives more emails. What happens ...
1 vote
1 answer
301 views

Why the document will be checked out by default when uploading it while having a custom content type

I did the following:- I created a new modern SharePoint page >> inside it i added a Button web part, as follow:- The url for the button refers to the upload dialog for a document library, as ...
0 votes
1 answer
29 views

How to show the editor rather than the approver/(power automate user) in the Version History

I have a list in SP online which needs admin approvals. After the admin approve the change, some calculations are done and some fields will be populated in the Power Automate. Mohsen here is the admin ...
0 votes
1 answer
624 views

If you reduce the SharePoint version history for a document library, will the oldest versions be deleted?

Example: The default major versioning history for a document library in SharePoint Online is 400 versions. I am looking to free up space in SharePoint Online. I want a document library to only retain ...
1 vote
1 answer
751 views

Export version history from sharepoint online using webservices

I am using webservices to export web from sharepoint online. Migration is working fine but versions are not getting migrated with the web. I am using ExportWeb method of /_vti_bin/Sites.asmx service. ...

1
2 3 4 5
8