Hi,
I'm currently developing a browser-enabled infopath 2007 form containing managed code... however, the codebehind won't execute when I publish it to my sharepoint site.
This is the first time I'm doing this, so I think I'm forgetting something here.
I followed the steps explained in this guide: http://geekswithblogs.net/jgmeyer/archive/2006/06/26/83087.aspx
Deploying is ok, and my form works... however, when I run the form I'm pretty sure the codebehind isn' t executed.
I've got a debug statement in FormEvents_Loading and I can't see it happen.
My main question is... do I also have to deploy the dll file containing the codebehind or is that included in the .xsn file?
In essence, what I'm trying to do is the following: I'm passing a parameter to the infopath form, that I would like to retrieve in the Loading Event.
Then that parameter should be passed to webservice dataconnections that receive data. I hope that's possible? I managed to create webservices that pass data, but only without parameters.
I don't know yet how I can set those parameters via code.
Any help is appreciated.
Thanks in advance.
Lacroix
edit: trying to fix missing linebreaks