7 votes

How to overwrite an existing document in SharePoint Library with a new document with different name?

Name the file you want to upload doc1.pdf. Go to "Upload" like you are adding a new file to the SharePoint folder. However, make sure the checkbox is selected "Add as a new version to existing files". ...
Sean's user avatar
  • 71
7 votes

Does Versioning only work for MS Word Documents?

Both lists and libraries can use Versioning, the file type does not matter in the case of documents.
Eric Alexander's user avatar
5 votes
Accepted

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

The content will be missing if you are adding this column to a document library or document set. Multi-line text fields act differently in Lists than in Libraries. If you don't get what you want here, ...
Mary Smith Greene's user avatar
5 votes

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

Our method was uploading the infopath form to the destination libary and deselecting "Enable this form to be filled out by using a browser". This way the content types in the from library matched the ...
Chris's user avatar
  • 51
5 votes

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

There's a new solution in Office 365. You can now select a file or group of files in the modern experience in OneDrive or SharePoint and select Move to. A file or group of files moved this way will ...
Tom Resing's user avatar
  • 3,579
5 votes

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

No, it's not possible to set the document version number manually in all SharePoint versions, As a workaround solution In case the current document version number in the test site is higher than ...
Mohamed El-Qassas MVP's user avatar
5 votes
Accepted

Alternatives to Versioning?

If you read this question/answer you find a powershell script to have back the 'No versioning' option in libraries Site Assets library still carries the 'No versioning' option The final and ...
susan's user avatar
  • 2,648
4 votes

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

//To move file from source library to destination through Event handler SPFile sourceFile = properties.ListItem.File; SPFile destFile = null; SPUser userCreatedBy = sourceFile.Author; DateTime ...
Anuradha's user avatar
4 votes
Accepted

SharePoint Online List Minor Versions?

Yes, as per documentation: Simple versioning is available for site lists, but minor versions are not available. Each version of a list item is numbered with a whole number. If your organization ...
Aziz Kabyshev's user avatar
4 votes

How to display published date column in document library

You can't use modified data as it will have the date for every metadata change. This may seem like an overkill for such a simple requirement, but I think you will need to write custom C# code using ...
Gautam Sheth's user avatar
  • 30.8k
4 votes
Accepted

2013 Foundation - Struggling to get versions to match

I think you dont need to install the hotfix And MS14-202 due to fact that latest CU include all the previous fix.I would do the following way. Install the Service Pack 1 Mark 2.( as this is base line ...
Waqas Sarwar MVP's user avatar
4 votes

sharepoint online: new libraries are created with major versioning at 500

There's no global setting in SharePoint Online unfortunately. But its really not a big issue having 500 major versions on each document. Versioning just saves the delta (last changes) and not the ...
Benny Skogberg's user avatar
  • 25.5k
3 votes
Accepted

Programmatically Get Version Changes for List Item in SharePoint 2013

There's no direct way provided by the server side API to get version changes. But you can compare the fields of different versions: using (SPSite site = new SPSite("http://my.domain.com/")) using (...
Submits's user avatar
  • 3,264
3 votes

Drag & Drop a New Version

'Replace it' will create a new version of the file if the library has versioning enabled. You can check if the old version was retained by looking at the file's Version History.
Adrienne's user avatar
3 votes
Accepted

How to display published date column in document library

You are right that the Modified date applies to any change, such as a change to just metadata. So if you want to have a date field that is specific to when a document was checked in as a major version,...
hoffie4's user avatar
  • 2,346
3 votes

Does Versioning only work for MS Word Documents?

Versioning works with all document types and different list options. Versioning is available for list items in all default list types—including calendars, issue tracking lists, and custom lists. ...
anonymous's user avatar
  • 407
3 votes
Accepted

How to Update SharePoint List Items without Creating New Versions

Try updating the item as below: item.UpdateOverwriteVersion(); UpdateOverwriteVersion() No new version. Updates the item without creating a new version of the item Updates the modified time and ...
Gautam Sheth's user avatar
  • 30.8k
3 votes
Accepted

How does SharePoint 2013 get the document name when checking in / uploading into a library?

As with all Web applications, when you upload a document, the file name is posted to the server along with the file content. SharePoint gets the file name, and checks in the SQL content DB if a file ...
Evariste's user avatar
  • 9,751
3 votes
Accepted

Get version of item given url powershell

This gives you the string label of the version: $objFile.UIVersionLabel This gives you the Major version: $objFile.MajorVersion This gives you the Minor version: $objFile.MinorVersion Edit: The ...
Damjan Tomic's user avatar
  • 3,626
3 votes
Accepted

Version numbering beyond major and minor

The versioning pattern have had its current implementation for at least 10 years since SharePoint 2007, if not longer. It's unlikely that the version pattern would change in the near future, ...
Benny Skogberg's user avatar
  • 25.5k
3 votes

Version History Link Per Line Item

The URL for the version history is: /_layouts/Versions.aspx?list={GUID}&ID={itemid} The workflow can build a string and update a column with the value. Remember if workflow will run on update ...
SharePointer's user avatar
  • 3,046
3 votes
Accepted

Is there a way to show the document status inside a document library indicating if the document is Draft or Published

I'd probably set up a calculated column that looks at the Version. Basically this finds the version, finds the decimal point and if the number after the decimal point is a 0, it's published, otherwise,...
Mike's user avatar
  • 12.2k
3 votes
Accepted

Reset Versioning Settings by PowerShell

Here is my test script to clean "Keep the following number of major versions" and "Keep drafts for the following number of major versions" options if enabled "Create major and minor (draft) versions". ...
Lee's user avatar
  • 4,271
3 votes
Accepted

Exporting item version check in comments

You can use this parameter$($version['Check In Comment']) in the PowerShell script to get the 'Check In Comment'. but unfortunately, it gets only the comment of the current item (last version). So to ...
Mohamed El-Qassas MVP's user avatar
3 votes
Accepted

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

I don't think this would be possible out of the box. As soon as you have the column in same document library it will change approval status to draft/pending depending on versioning settings. Couple ...
Siddharth Vaghasia's user avatar
3 votes
Accepted

Uploading a new version of a pdf file

Short answer to your question is Yes. SharePoint will retain the different versions of the PDF/Zip file. SharePoint doesn't care what type of file it is when it comes to keeping file versions. ...
Ganesh Sanap - MVP's user avatar
2 votes

Document Library-Major and Minor Views

In O365, there is no possibility to select Version 'does not contain'. So, here is another solution. In your Document Library, create a new Calculated column Minor Version with this formula: =IF(...
Christophe Raucq's user avatar
2 votes

How to automatically update documents generated by another system as new versions?

I would either built a small console app using CSOM or use PowerShell and CSOM together. I haven't checked if this code works, but it probably look something like this: using (var context = ...
Oak3's user avatar
  • 1,615
2 votes
Accepted

Remove all versions from a single site/document library in SharePoint 2007

Single Web: [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") #get site $site = new-object Microsoft.SharePoint.SPSite("http://example.com/sitecollection/site") # get ...
Paul Strupeikis's user avatar
2 votes

SPListItemVersion determine which fields updated

you can find the updated fields by comparing the actual version fields with the version fields before. Example code can be found here: http://charliedigital.com/2011/03/04/getting-version-changes-from-...
Ernst Lehmann's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible