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
99k 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 ...
2
votes
2answers
5k 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 ...
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
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?
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 ...
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 ...
19
votes
2answers
39k 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 ...
2
votes
4answers
3k 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 ...
6
votes
3answers
767 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 ...
3
votes
5answers
3k 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 ...
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 ...
1
vote
1answer
795 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 ...
1
vote
2answers
2k 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 ...
0
votes
2answers
38 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 ...
0
votes
1answer
403 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” ...
16
votes
4answers
18k 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 ...
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 ...
2
votes
2answers
861 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 ...
2
votes
1answer
4k 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 ...
1
vote
1answer
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 ...
1
vote
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 ...
1
vote
1answer
2k 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 ...
1
vote
1answer
154 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 ...
0
votes
2answers
2k 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 ...
0
votes
1answer
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. ...
0
votes
2answers
2k 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 (...
0
votes
2answers
2k 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 ...
0
votes
1answer
46 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,...
0
votes
1answer
26 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. ...