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
1
vote
1answer
219 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
1answer
19 views

How does timing of Document Publishing and Crawl affect Search Results

Once a document has been published (Version 1), has been crawled, and is available to search in SharePoint Online, if the document is republished with the next version (Version 2), does the crawl have ...
1
vote
1answer
38 views

Sharepoint Online, Getting the Versions of a document only returns older versions of the document and not the current

I am developing a desktop app in c# using CSOM to run against an o365 SharePoint solution. I managed to get the version, however in testing I have noticed that I am always getting the second newest ...
0
votes
1answer
40 views

Copy document between libraries

In library1 that has major versions activated, document A has 30 versions and same document is copied, programmatically, in library2 there are 10 versions. User realizes he made a mistake and wants ...
1
vote
1answer
316 views

Sharepoint 2013 Versioning Control Powershell

I am wondering if you can possibly help me with an issue i am having. I have managed to get a powershell script for enabling versioning control on a site in Sharepoint and it seems to work fine for ...
0
votes
1answer
23 views

Is it possible to have versions of a document (other than the current) automatically transfered to another document library?

I have a slide library that has major and minor versions enabled. Once a slide is updated to it's current version, I want the "new" old version to transfer to another document library. Is this ...
1
vote
1answer
24 views

Restoring Old File of Document Library, versioning not enalbed

I am new to SharePoint, one of our users changed content of the spreadsheet stored in document library and saved the spreadsheet. Later in he realized that he has put wrong content in spreadsheet and ...
1
vote
1answer
3k 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 ...
0
votes
2answers
73 views

Compare Specific Version in Word 2016 doesn't do anything

A few of my clients are having a very specific issue with Word 2016 and how it integrates with our SharePoint 2013 farm. As the story goes, our user wants to compare a legal document with one of its ...
2
votes
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
340 views

Reset Versioning Settings by PowerShell

On our libraries we set versioning settings = create major versions and keep 50 of them. We'd like to remove only the "Keep the following number of major versions" setting on all libraries. Because ...
0
votes
1answer
577 views

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

I have a SharePoint enterprise farm 2013 on-premises. and i have a team site which contain a document library. now for this document i define the following versioning settings:- so currently my ...
1
vote
0answers
22 views

Versioning of lists for analysis

Update Well, I found a partial solution to my question. So, I have to update it. The way to extract information for my purpose is by turning on versioning. However, I am still not sure how to extract ...
2
votes
1answer
497 views

Is there a way to view version history of a column attribute changes?

This question is not about version history of changes made in an item record but changes made to the columns or attributes within the list settings. Like for example when someone adds a new attribute ...
2
votes
1answer
90 views

Which API will update versioning in sharepoint 2013?

Any pointers to Which API will update versioning in SharePoint 2013? And any code snippet to do it? I have checked update() vs systemupdate() but not sure about the API part.
1
vote
0answers
30 views

Lookup column to Page library with versioning remains empty after search crawl

We have a content type (named: Tiles) of 7 lookup site columns that point to the ID field of the Pages library on the same site. The Pages library has versioning (Create major and minor (draft) ...
2
votes
1answer
1k views

Manually change document version in document library

I have a document which had 4 versions, version 3 and 4 are same so user deleted version 3 instead of version 4. How can I set version 4 to be version 3? Is this even possible? I don't want to ...
1
vote
1answer
29 views

how to Upload documents to sharepoint 2013 and their older versions?

We are moving away from a platform storing documents to store them on sharepoint 2013, but this documents have a lot of previous versions that we want to keep is there a way to upload the previous ...
1
vote
1answer
907 views

How can I fetch current or latest version number of a list item using PowerShell scripting

I want to fetch latest or current version of an item in a document library. How can I achieve this using PowerShell Scripting? Is $version.VersionLabel value of version number? But I don't want to ...
1
vote
2answers
255 views

Is there a CSOM equivalent of SPFile.TakeOffline - Unpublish last Published Major version when there is a Draft version

I'm trying to unpublish the last published version of a file(Page) when there is a draft version of it. It is possible with OOTB UI. SPFile.TakeOffline (Server Object Model) method can be used to do ...
2
votes
3answers
2k views

Version History Link Per Line Item

Scenario: I would like to have a link per line item that takes the user directly to the version history for that item. Possible Solutions: I was thinking of creating calculated column or a custom ...
1
vote
0answers
32 views

return ListItemAllFields on a previous file version [duplicate]

I am trying to retrieve ListItemAllFields for a previous version of a file in a Document Library foreach (FileVersion version in listItem.File.Versions) { string versionItemUrl = listItem....
2
votes
1answer
35 views

How to simplify the versioning and hot swapping of SiteAssets?

I notice a peculiarity in SharePoint. If I have links that point to some asset be it an image or a JavaScript, and I rename the folder containing that asset, the links (wherever they may be) tend to ...
3
votes
0answers
330 views

Problem with versioning on SharePoint Online

I have the problem of Versioning on Sharepoint Online. When I set limits of the version it doesn't allow me to delete those versions. A lot of workers edit this document library and its product a lot ...
1
vote
1answer
98 views

Enable Library Versioning by default for all new users Mysites

One of our clients has asked us to set all Mysites with library versioning - have done this for all existing ones, but not so sure about the process to make it default for new Mysites generated ...
2
votes
2answers
352 views

How to create view, group by or filter on publish status?

I created a document library. The library has the following version settings below. I have some documents which are published and have a major version. Other documents are draft and has a minor ...
1
vote
2answers
572 views

Delete list item versions

I can't delete version range e.g. from VersionLabel=200 to VersionLabel=220. When I run powershell command it just deletes every second version (220, 222, 224 etc). Anyone know why it can't delete ...
0
votes
1answer
18 views

How do I set SharePoint O365 Versioning Settings so “Only the users who can approve items (and the author of the item)” works?

I have a Form Library in O365 where I need to allow all site users to add an item, but they should only be able to see their own items, not other users items. I set versioning so the "Only users who ...
3
votes
1answer
163 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
1
vote
0answers
62 views

Lost “modified by” name - Moving File

I needed to move some files from one document store to another (I need to maintain version history as well as who made modifications). I moved the file by standard explorer view drag and drop method (...
2
votes
1answer
74 views

Version numbering beyond major and minor

I am not a SharePoint designer, but am gathering data exported from it. I am designing a database table to hold periodic data-dumps posted from SharePoint, including the following fields: Document ...
0
votes
1answer
532 views

List library and versioning: changing the content type

In a List library, in an item, I need to change the content type. 1.Will this be written as a new version? Will an older version be shown with the relevant content type? Will it preserve the ...
1
vote
2answers
378 views

default.aspx file, is there a way to create versions?

i have default.aspx file in the main site collection w/c is our landing page. Is there any way it can have versioning so its easier for me to go back to previous edits/versions?
3
votes
1answer
813 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-...
0
votes
1answer
223 views

Restore documents from its old version at one time in document library

I have 300 documents in a document library and i want to restore all documents from its old version.Each document has two version v 1.0 and v 2.0 is there any way to restore all documents from its old ...
0
votes
1answer
35 views

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

I wanted to know, how SharePoint gets the name of a document when checking it in or uploading it to any document library. How can I imagine this architecture? I'm asking myself this question, because ...
4
votes
1answer
50 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....
0
votes
1answer
54 views

Is there any available Object Model for document libraries and version controls?

I would like to know and understand the steps of SharePoint itself when it comes to uploading documents into a library (i. e. used as document management system) - also regarding the version control. ...
0
votes
2answers
1k views

How to download the historical minor version of a file in the SharePoint folder using REST API (and C#.Net)

I need to download the Older-Minor version of a File(.docx/.excl etc) inside the SharePoint folder using REST API. The URL would be: https://BaseURL/sites/SubSite/_api/web/GetFileByServerRelativeUrl('/...
0
votes
1answer
129 views

Why does first version document show as minor version?

When I allow SharePoint 2013 to create major and minor versions, the first document uploaded shows up as a minor version. It has a decimal number instead of a whole number. Shouldn't it show up as a ...
2
votes
1answer
1k views

Update List Item Version field value using PowerShell

I have list item contains multiple versions I'm trying to change any particular version field value e.g. : in picture I'm trying to change Title field value of version 5.0 Is it possible to ...
1
vote
2answers
3k 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 ...
2
votes
0answers
75 views

Create list Item and add versioning using Powershell

I have export list item data inducing version in CSV file in above picture item ID 1 has version 1, 2 and 3. I have enable version in list. so I'm trying to create list item with first version ...
2
votes
1answer
242 views

Deleting more than 300.000 document versions

My customer has a Page Library with versioning enabled and no versions limit. There is pages with more than 300.000 versions. I need to delete all old versions, but keep safe the 5 newer versions. ...
0
votes
2answers
45 views

Does Versioning only work for MS Word Documents?

Does the versioning option in SharePoint 2013 only work for Microsoft Word Documents? What about Excel or PowerPoint? Can I do Versioning with Tasks as well? Thanks
0
votes
1answer
2k views

How does list versioning impact storage capacity?

Interested in turning on list versioning (not document versioning) in SharePoint and wanted to know the impact it has on storage. Does it take up much storage? Thanks!
1
vote
1answer
720 views

Delete all versions of document using SharePoint Designer workflow

I have to create a workflow which will delete all version of the document. Is it possible with SharePoint Designer workflow?
1
vote
1answer
47 views

Version settings issue - It reverts back to a particular settings

SP 2010: Library Version Settings: I changed version settings to - Create major and minor (draft) versions from Keep the following number of major versions: checked (6) Keep drafts for the ...
0
votes
1answer
103 views

New version creating new file in SharePoint document library

I have SharePoint Document library in which there is InfoPath form. There is one event receiver which works on Item Added event. Version setting for the library is "Create a major version". When I ...
0
votes
1answer
2k views

Update editor of published version without affecting version number - CSOM

I am trying to copy files from one site collection to another including their version history and preserve the metadata using CSOM. I am almost there using the below logic for each version of the file....

1
2
3 4 5
8