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

learn more… | top users | synonyms

84
votes
13answers
64k 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 ...
13
votes
4answers
14k 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 ...
9
votes
2answers
16k 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 ...
8
votes
2answers
9k 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 ...
7
votes
1answer
2k 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 ...
5
votes
2answers
7k 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.
5
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 ...
5
votes
2answers
3k 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 ...
5
votes
2answers
9k 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....
4
votes
3answers
9k 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 ...
4
votes
4answers
447 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 ...
4
votes
1answer
11k 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).)
4
votes
2answers
233 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
1answer
4k 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 ...
4
votes
3answers
655 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: ... ...
4
votes
1answer
157 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
117 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
107 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
6k 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
104 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 ...
4
votes
2answers
980 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
2k 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
4k 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
1answer
211 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
110 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
3answers
1k views

Enable versioning on SPList programmatically

I might be missing something obvious, but I am trying to enable version history on a regular task list programmatically. It is definitely possible from the UI, but how can this be achieved in code? I ...
3
votes
2answers
2k 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
1answer
45 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

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
2k 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
2k 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+ ...
3
votes
2answers
1k 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 ...
3
votes
1answer
1k 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
463 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
1answer
101 views

How do I see the complete page content of an old version of a page?

I have a page library in a publishing site that has major and minor versions. I can click on a page's context menu and select View History and it gives me a list of all the major and minor version ...
3
votes
2answers
3k 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?
2
votes
2answers
2k 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 ...
2
votes
3answers
1k views

Document Library-Major and Minor Views

I have a document library with major and minor versioning enabled. Within this library we have documents that most people in the business need to see both minor and major versions, although only ...
2
votes
2answers
417 views

SharePoint version column

Is there any way to store previous value of column in SharePoint 2010 in another column . I'd like to show the old version of column A in column B and if it can be done without SharePoint Designer.
2
votes
1answer
392 views

Overwrite version from a workflow

Is it possible to overwrite a current version of a document from a workflow? I need to update some fields in a list but when I update the fields versioning kicks in and changes the version number. I ...
2
votes
1answer
745 views

How do draft item security affect indexing for search?

Some info: In my SharePoint 2010 environment I have set the "Draft Item Security" to "Only users who can edit items". The search service account have Full Read permissions and should be able to index ...
2
votes
1answer
241 views

How does SharePoint 2010 manage versioned dlls in the GAC when referenced by multiple features?

We have multiple SharePoint projects and features that reference common library code. The library is versioned using the 4 part identifier (x.x.x.x). Each feature may reference a particular version ...
2
votes
2answers
933 views

Change from Minor to Major version when initially uploading a document into a library

Is there a way to change the version from a minor to a major version when a document is initially uploaded to a document library? Currently, when a document is uploaded it's set to version .1. We ...
2
votes
5answers
5k views

Uploading multiple documents into a library keeps the documents checked out and not visible to other users

When you upload multiple documents into a Document Library with versioning turned on, is it a SharePoint 2007 default to keep the documents checked out? For some reason, when multiple documents are ...
2
votes
1answer
24 views

To view version history along with documents

I am working in SharePoint office365 environment. I have enabled versioning for one of my document library. I need to see the document in each version. Is it possible? If so how to achieve it?
2
votes
1answer
281 views

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

We are preparing to migrate content from a SharePoint 2007 environment to a SharePoint 2013 farm, by way of a third party tool. As part of the pre migration cleanup, I've been looking at document ...
2
votes
1answer
806 views

CAML Query based on IDs to get version number?

With JavaScript, is it possible to get its version number if I know the ID of an item? I have a function that needs to do something with the selected file, but even if I select the file, it is ...
2
votes
1answer
64 views

Are SharePoint versioning possible to validate according to Food Safety Standards?

Use Case: I often tell future customers that “Sure, you will have previous versions available for those with the right permissions”. While that is true, I wonder if I can get away with that statement ...
2
votes
2answers
191 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 ...
2
votes
1answer
89 views

SharePoint Versioning restriction & customize

With regards to SharePoint 2007 versioning feature: Is it possible to put restriction on who can delete the version of a changed item in a SharePoint List? Can the versioning be apply to new item? ...