Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I created an InfoPath 2010 form and published it to SharePoint Server 2010. I published it to open in the browser not in the InfoPath Filler, and it works fine.

When I attach a code project to it (even I don't write any code), it opens with the InfoPath Filler not the browser.

Any ideas?

share|improve this question
Please, describe method how you deploy your form. – avishnyakov Aug 2 '10 at 16:23
This is funny but I have reverse problem - as soon as I attach custom code to a button placed on a browser-enabled form in Infopath Designer 2010 this button cannot be rendered in Infopath Filler or client form any more – Gennady-Vanin-Novosibirsk Jun 23 '12 at 8:07

closed as not a real question by Alex Angas Jun 2 '11 at 6:08

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

1 Answer

If I understand it correctly, the moment you attach a code project to it, it loses its status as a browser-enabled form. This results in the form defaulting to opening itself in Infopath. Remove the code project and you should be fine.

share|improve this answer