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
120
votes
15answers
111k 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 ...
2
votes
1answer
2k 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
1answer
1k 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
1answer
22 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?
3
votes
1answer
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
1answer
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
2answers
2k 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 ...
0
votes
1answer
2k 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....
4
votes
3answers
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
0answers
13 views

Get file contents of previous 'Versions' in sharepoint library

My end goal is to attach historical versions of a file to an email using Power Automate. I.E. The last three months of test results which are stored on SharePoint with the same file name, which ...
0
votes
1answer
29 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
1answer
116 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
2answers
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('/...
21
votes
2answers
50k 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
1answer
978 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
2answers
37 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. ...
2
votes
2answers
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 ...
0
votes
1answer
19 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
1answer
72 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
2answers
27 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
2answers
336 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
2answers
46 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
1answer
222 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
3answers
775 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
1answer
34 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
1answer
29 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
1answer
25 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
1answer
50 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
1answer
742 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. ...
0
votes
1answer
28 views

Checking Non-Word Files Back In

I'm contemplating using SharePoint to manage shared files, including keeping a version history, and requiring check-out (the files contain certain modelling data). In SharePoint 2010, I can upload non-...
0
votes
1answer
33 views

SharePoint Versioning Enabled Yet not Working

As far as I am aware, there have not been made any changes to our versioning on SharePoint Online. Yet out of a sudden, changes in files or uploads of equally named files with differing content do not ...
2
votes
1answer
649 views

Exporting item version check in comments

I have followed this answer to extract the list of versions in my document library to excel: However, while the table lists all the versions it only displays (and repeats) the most recent check-in a ...
1
vote
2answers
5k views

Copy files between sites with version history (powershell, SP2010)

I can copy a file from one site to another using $SPFolder_Destination.Files.Add("Filename.ext", $SPFile_Source.OpenBinary(), $false) This does not preserve version history. I think I could ...
3
votes
2answers
3k views

Is it possible to have published major and minor versions?

I am currently trying to setup versioning for a document library. The aim is to use both Major and Minor versions which indicate the level of change: A minor version will be a small terminology edit ...
0
votes
1answer
44 views

In SharePoint Document Library, Identify document version where content has been modified

In a document library, I've some documents with version history. How can we identify the versions where content(not metadata) of the file has been changed using C#? I have tried by comparing the size. ...
0
votes
3answers
2k views

How to Disable Approval Workflow When Editing List Item

I have a list which users are able to submit new contacts to, but these contacts need approval before they can be accessed by everyone. In order to achieve this, I went to : List -> List Settings -> ...
0
votes
1answer
27 views

Ensure first version of a document is published and visible when initially uploaded

We have an issue in our organisation where people upload documents, and then walk away thinking everybody else can see it. However, we have minor and major versions enabled, meaning documents in ...
0
votes
1answer
19 views

How can I associate a “document” with a SharePoint list, and have the workflow wait for the document to be checked in?

I have a SharePoint list workflow running on the latest/greatest SharePoint OnLine. I'm using SharePoint Designer 2013. Unfortunately, PowerApps Flow is not an option. I'd like to add some new ...
1
vote
1answer
46 views

Static link to latest version of picture on sharepoint

I have a picture which is on SharePoint which is versioned. I upload automatically a new version every day and now I want to embed this picture to a page. I tried to do it by clicking on the picture ...
1
vote
1answer
464 views

Get comments of previous versions checked in in SharePoint Online using Rest API

I am trying to retrieve comments from my previous check in's in a library file in SharePoint Online. In SharePoint Online I can see the Check in comments successfully present in all the file versions ...
1
vote
3answers
448 views

Replacing file in SharePoint folder- new file is displayed in browser, old file displayed in app

Having been working on a document offline for a while, I tried copying it to the relevant folder on SharePoint- which already had the original version of the document. When dragging my local copy of ...
0
votes
1answer
63 views

SharePoint Online page version [closed]

I can't find a versioning of the page. Is there an option for Office 365 SharePoint? Cloud version.
0
votes
2answers
292 views

Deleting a version from a custom list item will only remove the data inside field/s with “Append Changes to Existing Text = Yes”

I am working on custom list inside SharePoint online, and the list have major versions turned on. so now when i click on the date inside a field which have "Append Changes to Existing Text = Yes" >> i ...
1
vote
2answers
254 views

(PnP Powershell) Note type fields appear to be empty when versioning is enabled

I'm trying to build a script that will copy the contents of a list from a site to another list in a subsite or a different site. Unfortunately many multiline text fields (FieldType = Note) appear to ...
0
votes
1answer
29 views

Previous version of document gets saved as most current version when the true most recent version is saved

I have a document library with versioning enabled (major only). We are experiencing an intermittent issue where while saving a document, a previous version of the document is saved as one version ...
0
votes
1answer
100 views

Updating an XSLX file which is already in use

I am using File.OpenBinaryDirect in Microsoft.SharePointOnline.CSOM to download an .xlsx file from a document library, then change the file and uploaded it again (using File.SaveBinaryDirect). This ...
1
vote
1answer
2k views

Uploading a new version of a pdf file

I know how to upload a new version of a document in SharePoint. However, I want to upload the new version of a PDF or a zip file. Is it also possible to have different version for non-office ...
0
votes
2answers
174 views

Can I set version number of SharePoint Online documents?

I've just read these two questions: "Set version of a document" "Is it possible to set the version number of SharePoint document?" but I would like to be sure that nothing has changed and that I ...
1
vote
1answer
4k views

Is it possible to set the version number of SharePoint document?

I have two site collections in SharePoint Online. One is the live site collection and one is the Testing Site. I want to upload a document onto the Test Site Collection, make some changes to it and ...
2
votes
2answers
145 views

Combining five files with same content but different names into one file with versions in sp2019

I am working with SP2019, on the file share there is a Legal folder added which gets lot of files dumped into it. Once users work on files, they save it there and send it to external party for review....

1
2 3 4 5
8