We recently put a rather complex SharePoint workflow into production. Our workflow is creates a lot of tasks, and each time a task is created a custom email is sent to that user with a link to the task. We create the body of this email ourselves, including the link to the task. The user clicks on the link and the task opens up in Internet Explorer and they can do whatever they need to do. We always want the forms to open in the browser and to begin with everything was peachy.
However after a few pilot users had been upgraded to Office 2010, which included the InfoPath client, it came to our attention that when they clicked on the link in the email it would open it up in the InfoPath client rather than opening it up in the browser. We would want the experience to be consistent so obviously this was not desirable.
Turns out the fix is fairly simple, if you know where to look. It took us some digging around but eventually we came across the following MSDN article: http://msdn.microsoft.com/en-us/library/ms772417(v=office.12).aspx
When we create the link we get the URL of the item by doing Item.Url and pasting that into the email. Looking at the documentation however the default way of opening the form will be using InfoPath. If the client is not installed it falls back to opening in the browser. That’s exactly what happened to us. Our users didn’t have InfoPath in the beginning so it would fall back to using the browser by default. Once they had InfoPath installed it started using that instead, because we never specified differently.
When forms were opened from SharePoint they opened in the browser because we have the “Display in web page” option set. That’s why the problem only manifested itself when opening the form from inside an email.
By appending ?OpenIn=Browser to the link, SharePoint will always open the form in the browser even though the InfoPath client is installed.
Thank you so much! this was so much easier than the hack I was concocting :)
Is there anyway to force this without any code changes to SharePoint? Some setting in InfoPath I can do as designer/publisher?
I can’t believe how lucky I just was to run across this resolution. Thank you!!!!!!
I was attempting to hyperlink from Excel to InfoPath records in SharePoint. It kept opening in InfoPath, but I wanted it to open in the browser. I had no issues with the same link from Word, but from Excel it just wouldn’t work right. This simple append to the url fixed it.
Thanks a lot!!!! Great solution!
Sometimes InfoPath is the right solution, even though it is deprecated. I found a solution that solves the problem where InfoPath Filler does not open in browsers other than IE. Check out this article: SharePoint incompatible Chrome InfoPath solution
This solution only works for Chrome.
Sorry, I forgot the link, please see: http://reality-tech.com/SharePoint-incompatible-Chrome for the solution in Chrome for InfoPath Filler not opening.
Thank you!! I have been wracking my brain trying to figure out how to fix a link on my Sharepoint site that forces the browser option and you saved me! Much appreciated!