2
votes

Situation

We are currently developing a Sharepoint 2010 site that uses Infopath 2010 forms. However most of these forms require more advanced functionality thus these became Adminstrator-approved forms and have c# code on them (VSTA).

Question

Since each infopath form would have its own c# project, we are now having difficulties managing the code as more infopath forms are needed. Is there a better way to manage the code? Or is there a mechanism to have all of the VSTA code in one central location/solution?

1
There is no way I know of to use a Solution for multiple InfoPath VSTA projects. One InfoPath form with code beind = one project, rinse and repeat for the next form.Dennis G
thanks, I had an idea whether to use a webservice for all the infopath forms to talk to, since Infopath can create Data Connections to web services. I would have the code all in one place, however I have a bad feeling that it would be hard to pass the data from the forms to the code.Bryan Hong

1 Answers

1
votes