Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

In my SharePoint list I have item that I have just approved. I clicked the Approve/Decline button in Edit form, and then chose Approved.

Now when I take a look at Version history, I see that last change was made by me, and with correct time, but version number is still 1.0. Is this behavior correct? How can I change this?

My list has both versioning and moderation enabled. From my elements.xml in List Definition:

<ListTemplate
    VersioningEnabled="TRUE"
    EnableModeration="True"
share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

If dazzles me a little, it seems you did enable Approval however you get still the version 1.0. Are you sure that versioning is enabled?

If you only enable Major, then every Check In and Approve will move to 1.0, 2.0, etc. if you enabled Minor (that is Drafts) then Deepu's explanation is absolutely valid

  • Check-In - Minor would increase/overwrite Minor
  • ChecIn-Major - would move it to Pending if Content Approval is enabled (with or without Workflow being enabled), once approved, the Draft will disappear (promoted if you want).

Hope if helps, C:\Marius

share|improve this answer
    
I have Versioning enabled. I posted snippet from my ListDefinition. –  Tschareck Apr 23 '12 at 9:11
    
So if you repeatedly CheckOut/Check-In and Approve and look at the Version History, or add the Version colum your view still shows as 1.0? Also use VersioningEnabled="TRUE" and EnableMinorVersions= “True” BOTH! –  C. Marius - MVP Apr 23 '12 at 9:13
    
Exactly. The "Last modified at... by" date and user changes, but Version is still 1.0 –  Tschareck Apr 23 '12 at 9:17
    
Go into List/Library Settings, validate under Versioning Settings that Versioning is really enabled. Without it, the behaviour you experience would make sense, otherwise something is fishy! –  C. Marius - MVP Apr 23 '12 at 9:23
add comment

I believe this is the default behaviour. When a list item is enabled with versioning in SharePoint, you have an option to publish it as a major or minor version. Once the item is published as a major version, the item status changes from "draft" to "Pending".

Now, once the "Pending" document is approved or rejected, there would not be any changes to the version. It just changes the modified by to the person who has approved the document.

To overcome this, you should either stop using the default content approval workflow or start tracking the person modified, by capturing that in a different column.

share|improve this answer
    
OK, but is it possible to change the default behavior? I would need to track, who and when approves or rejects items. –  Tschareck Apr 23 '12 at 8:53
    
Track or Control? Besides enabling Content Approval and Versioning - these enable Control, your could also enable Alerts on Changes with daily Digest - this shall report on every single change. –  C. Marius - MVP Apr 23 '12 at 9:22
    
There are workarounds. Whats missing is the person who has modified the document, just before the approval. You can track the modified person by writing an item updating event receiver and save this detail into another column. If you are thinking about a codeless solution, why not trying the same with SharePoint designer workflow. Here you will be able to save the approver details in separate columns of your own and you have much more options. –  Deepu Nair Apr 23 '12 at 9:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.