Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Item_Added with multiple items

0 views
Skip to first unread message

Eli_b

unread,
Nov 11, 2009, 3:13:54 PM11/11/09
to
hi, i have a sharepoint 2007 standard instalation, and i develepoed a
feature to a document library, so whenever a file is uploaded it sends
an email, and updates a database.

I am using the ItemAdded event, my class inherits from
SPItemEventReceiver.

When you upload one file, the code executes fine, but when the user
uploads multiple files at once, the code is executed as many times as
the number of files, but the properties object contains always the
information of the first file.

is there a way to re-inicialize the variables? or what should i do to
get the code to execture for each item that is uploaded?

thank you very much

Eli

0 new messages