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
121 votes
15 answers
118k 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 ...
Tom Resing's user avatar
  • 3,579
4 votes
2 answers
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?
BenM's user avatar
  • 161
2 votes
2 answers
6k views

Using SharePoint version number in calculated column?

I'm trying to get the value of column "Version" in a calculated column. I'm not sure if it's a bug with SharePoint 2007 but every time a document is updated, the version number shown in the calculated ...
Pupper's user avatar
  • 175
0 votes
3 answers
5k 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 ...
Mohsen Sichani's user avatar
4 votes
3 answers
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 ...
Richard Dillon's user avatar
3 votes
1 answer
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 ...
anairinac's user avatar
  • 131
3 votes
1 answer
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 ...
JohnDoDo's user avatar
  • 1,169
24 votes
2 answers
58k 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 ...
Karthikeyan's user avatar
  • 2,528
16 votes
4 answers
19k 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 ...
Etienne's user avatar
  • 936
6 votes
3 answers
812 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 ...
Molik's user avatar
  • 1,616
3 votes
2 answers
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 ...
Robert MacLean's user avatar
3 votes
1 answer
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 ...
OneFreeFitz's user avatar
3 votes
5 answers
4k views

Draft version visibility

I have a customer which wants their draft documents to be visible only to their authors. Moreover, the published version should be visible to everyone. However, they do not want to go through the ...
user8920's user avatar
2 votes
2 answers
1k views

SPFolder versions?

I am using SharePoint 2013 Server. I have a document library with enabled versioning. SPFolder.Item.Versions always returns only one last version of the folder item despite it was modified multiple ...
Paulius's user avatar
  • 131
2 votes
2 answers
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 ...
Hassam Ghauri's user avatar
2 votes
2 answers
5k views

Prevent a group from deleting document version history

In a Document/Form Library with versioning enabled (SP 2010), it is possible to delete all versions of a particular document/form simply by going to the "Version History" dialog box. This ability ...
Alex's user avatar
  • 1,069
2 votes
3 answers
1k 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 ...
Noble-Surfer's user avatar
2 votes
4 answers
4k 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 ...
Sean's user avatar
  • 355
1 vote
1 answer
351 views

Publish Major Version Comment access in SPD workflow?

When publishing a major version of a document, SharePoint prompts the user for comments on their changes. These comments seem to appear in the "Check In Comments" column. Is there a way to capture ...
vanblart's user avatar
  • 667
1 vote
1 answer
5k 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 ...
Nigel Price's user avatar
1 vote
2 answers
4k views

How to Update SharePoint List Items without Creating New Versions

Actually I'm working on PowerShell script using that I'm trying to update list item Modified By and Modified filed value without changing version. Is it possible to do that using PoweShell ? Please ...
Akshay Dattatray Nangare's user avatar
1 vote
1 answer
1k 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 ...
John John's user avatar
1 vote
2 answers
3k views

How to show version number when using 'Export to Excel' command

my firm is transferring a project to another firm. The new firm wants a list of all of our files. I went into our sharepoint library and selected "Export to Excel" which returned a spreadsheet with ...
Vidro3's user avatar
  • 311
1 vote
1 answer
2k views

Enable versioning on document libraries excluding some

I have enabled 10 major versions on all document libraries in my farm using the code below but I now need to exclude a few specific sites so that the major version number can be different to 10. How ...
MJJM's user avatar
  • 25
0 votes
2 answers
135 views

Site Assets library still carries the 'No versioning' option

Am I correct in noticing that all default Site Assets libraries can still be set on 'No versioning' like it used to be for normal libraries? Is there a way with powershell or similar to turn to 'no ...
susan's user avatar
  • 2,628
0 votes
2 answers
639 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 ...
John John's user avatar
0 votes
1 answer
1k views

SPWeb.GetFile for an old version of file

I have a document library with enabled versioning, I added an xml file, then added it again, but I have edited one value in it. Now I would like to get the content of both files in C# to compare them. ...
matt137's user avatar
  • 141
0 votes
1 answer
815 views

How to send my wiki page to be approved by specific user/s

I have the following inside my SharePoint server 2013:- A publishing site collection based on enterprise wiki. Inside my page library options, I define “Require content approval for submitted items” ...
John John's user avatar
0 votes
2 answers
3k views

Use client-side people picker in New/Edit form

We have an on-prem SP 2013. We have custom new and edit forms for some specific content types. The out of the box new/edit forms have the "good" client-side people picker, but as soon as we create ...
Rothrock's user avatar
  • 2,920
0 votes
1 answer
34 views

Configuring versioning for audit sensitive data

With document libraries I have often found the advice to never set versioning on without setting an upper limit on the number of major and minor versions. One such case being this - refer point 6. ...
Nisarg Shah's user avatar
0 votes
1 answer
57 views

Document Versioning

If I don't explicitly mention the number of versions and uncheck Keep the following number of major versions in Versioning Settings of a document library then does it holds the maximum value of 400,...
Zakir HC's user avatar
  • 3,650
0 votes
2 answers
3k views

How to get all major versions of List or Library Item using C#?

I have document library which has over 100 items. Each item has over 30 to 40 major & minor versions. I want to get only major versions of particular item programmatically using C#. foreach (...
Ronak Patel's user avatar
  • 3,241