Link to home
Start Free TrialLog in
Avatar of PeterTrefren
PeterTrefrenFlag for United States of America

asked on

InfoPath 2010 template not opening in browser

I've loaded a InfoPath template that has admistrator approval onto our SharePoint site.  I've made the template active from the site collection and I've enabled managed content type from the forms library and I've used both "use the server default" as well as "open in browser".  However I'm not getting the form to display in the browser.  What happens is InfoPath filler is opening and I'm presented with a very early version of the template.  I've verified that the version on SharePoint is the one I'm interested in.  This template has a small amount of C# code.
SOLUTION
Avatar of Clay Fox
Clay Fox
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of PeterTrefren

ASKER

When I published the template I set the browser enabled/adminstrator approved selections.  I uploaded another version as a renamed version of the template.  However when I try to use it on both mine and another computer it downloads the template.  On the other users computer it is unable to load because I developed the form with Office 2010 and the user has Office 2003.  Is there a specific setting to make it web based only?
I'm now able to view the template in the browser after deleting a default content type that was added when the form library was created.  Additionally I verified it was the default content type.  However I'm not seeing the code run when the form loads.
Don't you have to raise the overall level of the infopath form in order to run code from a SharePoint site?

Have you tried raising the security level?

http://raymondlittle.wordpress.com/2012/03/14/adjust-infopath-2010-security-settings/

DH
I published the InfoPath form with full trust.  Do I need to include a signed certificate?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It appears I'm not the only one who doesn't understand why an InfoPath form that doesn't access anything needs to run with Full Trust and have a digital certificate.

http://social.technet.microsoft.com/Forums/en-US/sharepoint2010customization/thread/4a3de61e-c16f-4d8c-8597-e9ca5d1d709d
(read the last sentence)

However whatever is going to get the job done.

Clayfox and DH thanks for the help!