Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Calculated Fields Issue - Version Number Disappearing

  Asked By: Vaasu    Date: Jan 16    Category: Sharepoint    Views: 2832

I'm having a weird issue with a calculated field I've been using. The calculated
field creates a link that has document information in it, including the Version

Problem is that at some point the Version Number appears completely blank in the
field. And oddly to fix it, all I have to do is go into that particular columns
properties and click OK. Making no changes whatsoever. Then the Version Number
appears again, for an undetermined amount of time.. until it's gone again.

Anyone run into a similar problem before?



4 Answers Found

Answer #1    Answered By: Junior Jarvis     Answered On: Jan 16

This is starting to become more of an issue.. that I need to figure out as soon
as possible. And I really have found no good fix  to it. It's simply that in a
calculated field, sometimes the Version number  blanks out?!? Any ideas..

Answer #2    Answered By: Sanjay Lohar     Answered On: Jan 16

I suspect you are running into a timing issue  where the field  is being
calculated and the version  number updated simultaneously when you save an
item. The easiest way to fix  this would be to update the Calcuated field
using an ItemUpdated event receiver. That way the version number  will be
set before the calculated  field is set. I don't know any way to enforce
that timing using the built-in Caculated field.

Answer #3    Answered By: Mason Salazar     Answered On: Jan 16

I get what you are saying. And most likely you are correct with your

I think I may just work around this in a different way though, I do have a
workflow that runs to publish a major version, so I will just do my own
calculation/update of that field  at the point.

Answer #4    Answered By: Jesus Davis     Answered On: Jan 16

since workflows always kick off after the
item is saved.

Didn't find what you were looking for? Find more on Calculated Fields Issue - Version Number Disappearing Or get search suggestion and latest updates.