I am struggling with an issue related to InfoPath and use of the ItemAdded event handler. I have created an InfoPath form that contains several fields that are being published to SharePoint fields in a Forms Library. When I submit a new form,
the SharePoint data is being correctly updated. ian see it in the list. However, I am trying to write an ItemAdded event handler that performs specific logic based on the value of one of the InfoPath/SharePoint fields for the form being added to
the library. The logic appears to work correctly the first time through. I can sucessfully read the value from the field and then execute my logic. However, subsequent submissions appear to not be able to read the values. It is like
they don't exist or are null. I am thinking that it has something to do with threading but I cannot find a work around for this problem. The interesting thing is that the same exact logic works correctly when the ItemAdded event handler is tied
to a standard Document Library. Any word documents that are being added always read the values correctly.
Does anybody know what might be causing this or a possible way around this issue?
View Complete Post