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
2
votes
2answers
2k 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
16 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
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 ...
2
votes
1answer
32 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
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 ...
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
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....
0
votes
2answers
26 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
122 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
1answer
286 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
2answers
43 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
103 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
269 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
32 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 ...
0
votes
2answers
1k 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
1answer
27 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 ...
1
vote
1answer
955 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
1answer
24 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
740 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
32 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
597 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
4k 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
39 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
1k 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
0answers
38 views

Sharepoint version history not working until the file has been opened online, and not at all for file which cannot be opened online

I recently changed the version history setting on some of out sites to only major versions, with 200 versions saved, as our company is not big enough to take advantage of the more advanced ...
0
votes
1answer
25 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
0answers
56 views

How do I trigger or start a workflow on only a document major version?

I have a document repository with versioning set up for both major and minor. (We need minor version to store redline/document changes.) We required check out. I want to trigger or start the ...
0
votes
1answer
16 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
27 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
365 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
236 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
56 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
231 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
184 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
73 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
1k 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
137 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
3k 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
138 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
vote
1answer
2k views

Programmaticly updating SPFileVersion.Properties Hashtable

Anyone who has experience with programmatically updating the SPFileVersion.Properties Hashtable? I have a special situation where I would like to modify this Hashtable. Most of you will say: "Why on ...
0
votes
1answer
710 views

Submit Major Version from Microsoft Flow, without content approval

Is it possible to publish a major version of a document using Microsoft Flow, specifically when Content Approval is disabled? I cannot see any relevant Flow actions that might accomplish this for me.
1
vote
1answer
69 views

Managed Property for Version History & Comments

I'm currently working with a spfx web part that utilized managed properties to pull information about documents. I would like to be able to pull the most recent version and the comment associated with ...
0
votes
1answer
22 views

Can I have a free-text comment tagged to a specific document that WON'T create a new version when edited?

I understand that if I have versioning enabled in my document library, then any changes I make to a document or its metadata will be represented in a new version of that document. My customer has ...
1
vote
0answers
42 views

How to get all versions of a multi-line text field in a workflow

I have a custom list with versioning which contains a multi-line text field with append. In any workflow (insert, update triggered...) i cannot read the content of that field (always blank) although i ...
0
votes
1answer
354 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 ...

1
2 3 4 5
8