Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

The object has been updated by another user since it was last fetched.

$
0
0

I am trying to update a site column on my content. When I save the changes, I get the error "The object has been updated by another user since it was last fetched."  When I searched the issue, I found a lot of references to an issue with the schemaXML property of the column having a version number in. When I checked the column, it did indeed have a version attribute.  The posts further said to remove the version attribute and then redeploy the column.  This is where I'm struggling.  I am running the following powershell script

$web = get-spweb http://site.domain.com

$column = $web.Fields["Escrow"];
$xml = $column.schemaXML;
$xml = $xml -replace " Version=`"1`"","";
$column.schemaXML = $xml;
$xml = $column.schemaXMLWithResourceTokens;
$xml = $xml -replace " Version=`"1`"","";
$column.schemaXMLWithResourceTokens = $xml;
$column.update();
The script immediately spits out the same error.  How do I resolve this?


Viewing all articles
Browse latest Browse all 13778

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>