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

I have a document library in SharePoint whith a custom content type. There is one custom field that is set by an item added event receiver each time a new document is uploaded.

My problem occurs when someone opens a document with Word and uses the "save as" option in the Word menu to save a new document. My event receiver sets the correct value to my field and then Word is setting the field back to the old value again.

How can I prevent Word from changing my field ? The field is hidden, readonly and sealed.

share|improve this question
    
I think I can catch the item updating event fired by Word. If there is a way to know that it is Word trying to change my item I could cancel the event. How do I find out if it is Word? –  Dudute Sep 6 '12 at 10:26
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.