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
118
votes
15answers
98k 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 ...
17
votes
2answers
38k 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 ...
16
votes
4answers
17k views

Remove [Revert to template] message from page

I created a page in SharePoint 2010 and then made some edits to the page. Then I went into the page Version History and restored a previous version of the page. Now I have this message that does not ...
10
votes
2answers
18k views

Adding document version number on Excel Spreadsheet as label for printing purpose

I have a situation where I need to have version number on each document in version controlled document library. Having version number on printed sheet would help to see the validity of document. I ...
9
votes
1answer
4k views

How to enable versioning of PDF files in SharePoint 2010

Using SharePoint 2010 I want to be able to version my PDF files. So for example I want the user to be able to check out a PDF file, update it, and check the same file back into SharePoint. Is there a ...
9
votes
2answers
13k views

Enable versioning on all lists and libraries

Is it possible to enable versioning on all lists and libraries across all web sites of a site collection? Thanks.
8
votes
2answers
1k views

SharePoint Document Library version restore not behaving as expected

I have some code which I am attempting to use to "rollback" a SharePoint document and it's metadata properties to a previous version using ootb version control and the SharePoint API. Here is a ...
7
votes
2answers
14k views

Check Out, Update, then Check In a File in SharePoint Client Object Model

I would like to programatically update a SharePoint file by checkout/checkin. I have written code that looks like it should do what I want it to do: static void HandleFile(Microsoft.SharePoint....
7
votes
1answer
210 views

Version field sort order not working properly

The problem I have a document library with versioning, and I am tweaking the view through the UI. It appears that, right ootb, when we sort by Version it doesn't really sort properly, as it appears ...
6
votes
1answer
19k views

Maximum number of SharePoint Major & Minor Version

Is there a cap on the number of major and minor version allow for SharePoint? (From what I know, a single major version can have a cap of 511 minor version (draft version).)
6
votes
3answers
3k views

Enable versioning on SPList programmatically

I am trying to enable version history on a regular task list programmatically which is possible from the UI, but how can this be achieved in code? I assumed setting EnableVersioning = true would do ...
6
votes
3answers
763 views

SP version history is different from version history dispayed in Office application

Have you any idea why office application like Excel or Word shows different name in version history than SP version history? This is version history of some Excel file viewed through SP GUI: ... and ...
6
votes
2answers
4k views

After adjusting version settings (from unlimited to max 10) performance grinds to a halt

For several document libraries in our SharePoint environment end user enabled versions without setting a limit. Or were given a document library with unlimited versions(result of having no governance ...
6
votes
1answer
521 views

Move files to subsite and retain version history, no coding (Sharepoint Online)

We are dividing our team's site into more specific subsites, and I'm trying to migrate some files from the site's Documents library to a subsite without losing the version history. I know this ...
5
votes
4answers
13k views

Event Receiver, Before and After properties

In an event receiver, Item Was Updated. I want to Compare the Moderation status on ListItems to perform some functionality.This is just some of the code. SPList list = web.Lists["DocLib"]; SPListItem ...
5
votes
4answers
1k views

Are there any implications to having a large number of document versions?

One of my users has a 5MB documents with 64 versions. This seems a little excessive and I can easily trim it to x number but I wanted to know for my own benefit, are there any real implications for a ...
5
votes
1answer
6k views

How to get Version history of all fields updated for a list item?

I am developing a ticketing system on SharePoint 2013 onprem. I am storing Ticket data in a list with versioning enabled. On my user end (which is not a SharePoint solution, I can access only CSOM and ...
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 ...
4
votes
1answer
16k views

Publish major version for all documents in library

Is there a way you can publish major version for all the documents in a document library in one go? I have tried switching the Versioning Settings from "Create major and minor (draft) versions" to "...
4
votes
1answer
49 views

2013 Foundation - Struggling to get versions to match

I am doing a migration and, prior to importing the databases on the new server, I am trying to match the versions. I need to get to version 15.0.4833.1000. Currently the new server is version 15.0....
4
votes
2answers
239 views

Is there a way to determine if the SharePoint version is 2007 or 2010 using Managed Client Object Model?

I am building an application that interacts with SharePoint 2010. It is a Silverlight application built on the Managed Client Object Model. The application is set up on SharePoint like this: User ...
4
votes
2answers
8k 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 ...
4
votes
1answer
161 views

SBS 2008 “AllDocsVersions” table has grown to 225Gb

we innadvertantly had versioning enabled on a heavily used list and the database table "alldocsversions" has grown to 225 Gb. Can anyone suggest a way in which we can rid ourselves of the previous ...
4
votes
1answer
245 views

Prevent Overwriting Current Version in Wiki

Is there any way to prevent a user that is able to read/write the wiki in SharePoint from overwriting the current version? When I go to check in a version of a wiki page, I am presented with the ...
4
votes
1answer
109 views

Is it possible to replace the Check-in/Check-out buttons with custom workflows?

The requirement is that the user fill in a form describing the reason they want to check out the document, but not checking out the document until a manager reviews the collected data and approves the ...
4
votes
2answers
4k views

Set version of a document

We are looking at moving a some documents into a SharePoint 2010 document library. Is there any way to set the starting version number for each document?
4
votes
2answers
1k views

Getting AssemblyFileVersion of a wsp **without** a feature

I got a monitoring page where I show the version of all web parts, features etc. If I use features with Event Receiver I can easily get the version. If the Feature has no event receiver I solved that ...
3
votes
2answers
3k views

How does SharePoint store versions of customised pages?

While a page is uncustomised (previously known as unghosted) it is stored on the file system, however once it is customised (previously known as ghosting) it is copied to the DB. Source 1 and Source 2 ...
3
votes
1answer
5k views

Does Update-SPSolution trigger a SPFeature.Upgrade()?

I'm looking into Feature versioning and upgrading in SharePoint 2010 and I don't know exactly if the Update-SPSolution cmdlet triggers a SPFeature.Upgrade(). Are <UpgradeActions> elements ...
3
votes
3answers
27k views

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

In a SharePoint 2013 Document Library (version with x.x version enabled!) I have a PDF document, let's call it doc1.pdf which I want to replace by a new version. The new document I have is called ...
3
votes
2answers
1k views

How to display published date column in document library

The scenario is there is a document library where user maintains major and minor versions of a document. When the user has to edit a document s/he checks out the document and starts their editing. ...
3
votes
1answer
384 views

Can an entire list/library be versioned?

It's possible to enable item versioning on lists and roll back to a previous version on that item. Can this be done for the entire list? So we can roll the whole thing back? We accidentally modified ...
3
votes
1answer
123 views

Alternatives to Versioning?

Are there alternatives to use Versioning? I have a customer who works in an environment that is strict on using versioning AND, for this particular project, rightfully so (about 2000 pdf files in one ...
3
votes
1answer
137 views

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

is this a setting that I can change? I do not necessarily like that every single document library has 500 and versioning activated
3
votes
1answer
641 views

Get version of item given url powershell

I'm writing a script which gets the version of an item given the URL. However I can't seem to get the versions. $objFile = $web.GetFile($sitecollection+/ZB/Forms/DispForm.aspx?ID=5266) Write-...
3
votes
1answer
1k views

Drag & Drop a New Version

When a file is drag and dropped into a document library that has versioning enabled (a document set in my case) and a file with that name already exists, SharePoint shows this message: But when a ...
3
votes
2answers
3k views

How to stop two version a sharepoint designer workflow running at the same time?

I have a SharePoint 2010 designer workflow that is running on change. When I publish a new version of the workflow and the items is edited, I end up with two version of the workflow running. Is there ...
3
votes
2answers
741 views

Are SharePoint document versions incremental or self-contained?

Consider a scenario that I have a document of 100 kB, stored in a document library where versioning is turned on. Now I add a few lines to it and remove a few lines. The new size is 105 kB. Would ...
3
votes
1answer
294 views

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

We want to share documents in a SharePoint Document Library (SP 2013) which are automatically generated each week by another software system. These documents are in PDF and RTF format (maybe also ...
3
votes
1answer
1k views

Audit List field level changes - SharePoint

Is it possible to audit changes on List fields in SharePoint 2013? What I'm looking for is to get some report when certain fields in a List is changed by users, not looking for values but just a ...
3
votes
2answers
318 views

How do we sync the version on a physical document with the version tracked in SharePoint?

We would like to store a set of PDF documents in a SharePoint library under major/minor revision control. I understand how the major/minor versioning system in SharePoint works, but our problem is ...
3
votes
1answer
2k views

How can I get draft documents in a document library to be crawled by search?

Background for My Issue: I'm working on a document library, with major and minor versioning enabled. For the draft items, the client requires that only users who have permission to edit items in the ...
3
votes
1answer
472 views

SharePoint Online - Shredded Storage

From this link: https://technet.microsoft.com/en-us/library/sharepoint-online-service-description.aspx SharePoint Online is supposed to support Shredded Storage and, if I'm understanding it ...
3
votes
1answer
2k views

Error :- Unable to index into an object of type Microsoft.SharePoint.SPListItemVersion

I am working on an Issue tracking list inside SharePoint team site and i need to modify the "Editor" & "Modified" fields for an existing item's version comment:- so i wrote the following power-...
3
votes
1answer
3k views

Disable Checking Out of PDF Files

We have a client who is having issues with users who are checking out documents instead of picking "Read Only". We would like to find a way to remove the option to have them check out documents and ...
3
votes
3answers
4k views

Versioning and only seeing the latest major version

This is the good old question I just can't fathom there's no good solution for with SharePoint. The business case is the following One document library with several content types and 3000+ documents ...
3
votes
3answers
799 views

Update-SPSolution & Items in a Document Library

I have the following situation: solution1.wsp that has a document library with files inside (I use a module element for adding new files to the feature) and solution2.wsp that has a document library ...
3
votes
1answer
2k views

Get last major published version of items returned as DataRow (from SPSiteDataQuery)

Does anyone know the solution for this? If I'm querying items by SPSiteDataQuery I receive a DataTable with DataRow objects. I could fetch the current version of an item and check if it ends with "....
3
votes
1answer
583 views

Versioning, Calculate date since last update

SharePoint 3.0, I'm currently creating a new file repository for Reports. Those reports will be updated every week / months, since I need to keep the old file, I will use the built in Versioning. This ...
3
votes
2answers
3k views

Possible to download all versions of a document?

My team is looking for a way to download all versions of a particular document on our site (or more generally we would like to back-up all versions of all documents in a particular document library). ...