All Questions
Tagged with versioning development
17 questions
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-...
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 ...
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. ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 (...
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 ...
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” ...
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 ...
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 ...
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 ...
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. ...