Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

ItemAdded Event fire 2 times

$
0
0

Hello Folks,

I have written multiple Event Handler on custom list in past and all ran successfully. However, today I have written event handler on InfoPath Forms List and ItemAdded event run twice. After debugging, I got to know that ItemAdded and ItemUpdated event fire bit by bit like below:

ItemAdded - Execute few lines of code

ItemUpdated - Execute few lines of code

ItemAdded - Execute few lines of code

ItemUpdated - Execute few lines of code

...

...

I don't understand why ItemUpdated event get fire when I submit "newly" created infopath forms. When I save&close existing form then it run once only. Issue getting me crazy now. Please assist.


Thanks, Chintan


Viewing all articles
Browse latest Browse all 11571

Trending Articles



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