开发者

Moss problem: Your change conflict with those made concurrently by

开发者 https://www.devze.com 2022-12-13 06:25 出处:网络
I want to update some lookup field of a list when some feature is activated. To deal with this I made a SPFeatureReceiver for the feature. I debug my code and every thing was perfect until I do this:

I want to update some lookup field of a list when some feature is activated. To deal with this I made a SPFeatureReceiver for the feature. I debug my code and every thing was perfect until I do this:

sourceField.SchemaXml = sourceField.SchemaXml.Replace("List=\"\"", string.Format("开发者_开发问答List=\"{0}\"", targetGuid));

I dont understand why this happens because I am setting the AllowUnsafeUpdate to true.

The exception that I get is:

[Microsoft.SharePoint.SPException] = {"Save Conflict\n\nYour changes conflict with those made concurrently by another user. If you want your changes to be applied, click Back in your Web browser, refresh the page, and resubmit your changes."}

Please help me asap, thanks

Abel

0

精彩评论

暂无评论...
验证码 换一张
取 消