Wednesday, October 13, 2010 10:07 AM
I have a infopath form, with some c# code.
when i test te form local it works.
so i have upload the form to the sharepoint and activate it.
when i test the form in a library the code wont work, i think the code wont be called.
i'm working localy, not on the sharepoint server.
how will my code get on the server or is this a manual interaction?
is there something i forget at the moment?
Tuesday, October 19, 2010 2:27 AM
Would you please let me know how you migrated or deployed InfoPath VSTA solution to the server?
Please take a look at following article: 3 Ways to deploy InfoPath form templates to SharePoint: [http://www.bizsupportonline.net/blog/2009/06/3-ways-deploy-infopath-form-templates-sharepoint/]
When you write .NET managed code (C# or Visual Basic) in the form template using either VSTA or Visual Studio, and want to browser-enable the form template when you deploy it to SharePoint, you have to deploy an InfoPath browser-compatible form template as an administrator-approved template.
Hope this can help.
- Marked As Answer by kimvlas Friday, November 05, 2010 8:09 AM
Tuesday, October 19, 2010 12:30 PM
if i understand it, normally when you write code it will be place under the c drive "infopath projects".
so i must change the c drive to the network drive where sharepoint is installed on, and than work from the network and than publish it with administration rights?