Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
44 views

"Automatically" option for the Organization version history limit, how it works exactly

I am reading about the "Automatically" option for the version history limit @ https://learn.microsoft.com/en-us/sharepoint/plan-version-storage#understand-version-storage-under-automatic-...
microsoftdeveloperdesigner's user avatar
0 votes
2 answers
165 views

Rename "Version comments" inside the document library's Upload.aspx page

When i open the Upload.aspx page for an online document library inside a new tab , i will get these fields:- My question is if i can rename the "Version Comments" field? i access the ...
John John's user avatar
0 votes
1 answer
68 views

In SharePoint Document Library, Identify document version where content has been modified

In a document library, I've some documents with version history. How can we identify the versions where content(not metadata) of the file has been changed using C#? I have tried by comparing the size. ...
Manveer Singh's user avatar
0 votes
2 answers
135 views

How can I update the Editor/Author field of a versioned item

I am using a multiline text field with Append Changes to Existing Text enabled. So everytime I add a new comment it creates a new version with, Created by set to the user who triggered the action. I ...
Ishan's user avatar
  • 774
1 vote
1 answer
77 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 ...
Yeti Byte's user avatar
0 votes
1 answer
309 views

How to use managed CSOM to access ListItem version history?

I'm using managed (C#) CSOM to migrate some lists between sites. The problem is, I cannot find way to read and update version history of a ListItem. For example, I have multiline field called ...
komsky's user avatar
  • 165
4 votes
1 answer
4k 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 ...
John John's user avatar
1 vote
1 answer
749 views

Get the previous version of a document and set the link to a field

How can I access the link to a previous version of a document in a library and assign that value to the new version of the document? eg. Version 2 has been submitted and I want a link to the pervious ...
matt's user avatar
  • 35
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,261
1 vote
0 answers
95 views

Rejecting an Approved document Versus Rejecting a Pending document

I have Enterprise Wiki site collection which contains a document library.I have set the following settings for the document library:- Require content approval for submitted items? >>> Set to Yes Who ...
John John's user avatar
0 votes
1 answer
872 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
1 answer
37 views

Strange behaviour Generic List

I have written some code to delete minor versions after a specific time. I don't know how it is possible, but it only deletes uneven versions, and not the even ones. Below part is to find all ...
pipelinecache's user avatar
5 votes
4 answers
16k 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 ...
George Norberg's user avatar
0 votes
1 answer
313 views

The Version History for a file in the library showing different "Modified By" Column

I am writing a tool to generate the versions of a file/page in the library. My Report should include the version number and the version created by/Modified by name. While getting the modified by ...
Purna Chander M's user avatar
0 votes
1 answer
2k 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

15 30 50 per page