New answers tagged

0

There's no direct way provided by the server side API to get version changes. But you can compare the fields of different versions: using (SPSite site = new SPSite("http://my.domain.com/")) using (SPWeb web = site.OpenWeb()) { SPList list = web.GetList("http://my.domain.com/Lists/Stuff"); SPListItem item = list.Items[1]; ...


0

It was my own mistake, I had the status of approved on each approval task process. I later changed it to Pending and this resolved my issue. Set content approval of item that the task process is running on to Pending (run as the workflow author) Hence Just changing from Approved to Pending on all previous approval process and setting the Approved only on ...


0

It has come to my attention that as long as a file is downloaded from SharePoint, modified and re-uploaded, the values remain the same. This issue only occurs if someone has retained the original version, made edits, and re-uploaded the changed file to SharePoint.


1

In O365, there is no possibility to select Version 'does not contain'. So, here is another solution. In your Document Library, create a new Calculated column Minor Version with this formula: =IF(RIGHT(Version,FIND(".",Version))=".0","Major","Minor") Then create a new view Minor Version with this filter: Show items only when the following is true: Minor ...


2

'Replace it' will create a new version of the file if the library has versioning enabled. You can check if the old version was retained by looking at the file's Version History.


0

Not sure if it will work but you can try the Is current version. Make a if statement on the current item, look for: field is current version which is boolean and set it to True, in the if you can set your values: If Current Item:Is Current Version equals value { Set Variable: currentValue to Current Item:Field }


0

The List Forms are stored in special subfolders of lists and libraries that are not subject to version control. So, it's not possible to apply versioning for the list/library forms.


2

I would either built a small console app using CSOM or use PowerShell and CSOM together. I haven't checked if this code works, but it probably look something like this: using (var context = TokenHelper.GetClientContextWithAccessToken(uri.ToString(), token)) { var web = context.Web; using (var fs = new ...



Top 50 recent answers are included