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 created an event receiver that processes some information in docx files when uploaded to the library. I do this in ItemAdded event. Everything works fine when the file is uploaded. When the files are created by clicking the New Document icon on the ribbon and the file is saved to the library, event receiver code is not fired.

Is there any other event that I should be handling?

Thanks.

share|improve this question
    
Is the event totally not firing? I assume you've had a debugger attached and walked through the behaviour? My first instinct would be that ItemAdded is fired earlier than expected and the data you're expecting isn't there so an exception is getting thrown silently in the background. Try looking at the ItemUpdated event too. –  GavinB Nov 17 '11 at 4:50

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.