SPFile.Item is undefined on a document library event

Z

Zafrir Lapidot

Hello,

I'm using infopath for flow solution using WSS - document library
events and so on ...

Currently I'm facing the following problem :

1. I'm submitting the form using custom c# code with davadapter
object.
2. the first submit work's fine.
3. on the 2nd submit (1st manager chooses next manager and resubmit to
the Doc lib using different button). the doc lib event work's but the
data is missing.
4. i am using SPfile.Item[FieldName] to read the data. and as i said
the same lines of code worked before and don't work now.
5. the SPFile.Item itself is marked as "unedfined" in VS.Net debugger.
6. a speculation i made is that it relates to permission on the doc
lib (i'm using run as to imperonate to the different managers.

any idea why the file.Item is undefined?

Thanks a lot
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top