Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SharePoint: Calculated Column Values Disappear When Editing List Item. Any ideas?

I have a calculated column in a custom SharePoint 2007 list, with the following formula:

=CONCATENATE("IR-",[ID],"-",LEFT(UPPER([Title]),25))

If an item is created in the list, everything is fine, however, when an item is updated the [ID] column is no longer in the calculated column for that item.

So, on creation: "IR-40-TheTitleIsHere", but after edit, it is, "IR--TheTitleIsHere".

Anyone have some insight on why this would be happening?

like image 950
program247365 Avatar asked Jan 24 '23 10:01

program247365


1 Answers

I confirm the behavior mentioned above. Any Add/Edit will wipe out the [ID] portion. If you edit the column in the list and update the formula, it will update ALL list items to be correct (until you do an edit on the item).

I found this post that mentions the same problem.

Sounds like the only solution would be to make a simple workflow using SharePoint Designer that would update a text field in your list.

like image 196
Kit Menke Avatar answered Apr 07 '23 09:04

Kit Menke