Saturday, June 16th, 2007

InfoPath forms in a WebPart



This demo shows how to enable the InfoPath Form Viewer WebPart and configure it to show your InfoPath forms.

This is the second part of my presentation at the SharePoint User Group UK meeting in Telford.

The presentation covers

  • Adding InfoPath form view as a safe control
  • Enabling the web part in the site collection gallery
  • Adding the web part
  • Useful tip when it errors with a ‘Form Closed’ display
  • Setting the web part properties, and an easy way to find the information

The safe control information referred to in the presentation.

<!– Info Path Demo –>
<SafeControl Assembly=”Microsoft.Office.InfoPath.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c” Namespace=”Microsoft.Office.InfoPath.Server.Controls” TypeName=”XmlFormView” Safe=”True”/>

  • charlie
    This is an excellent tutorial, very straight forward.

    I have a question though - When I add my infopath form, the right hand border of the text boxes are all missing. I think this is a styling problem but have no idea how to fix it.

    Thanks
  • Andrew Woodward
    Microsoft see InfoPath (inc Forms Services) as internally facing. There are questions about it's viability within the Internet space - something that I personally think should be reviewed.
  • Anonymous
    Wow, about as bad as I thought. Not really usable on a website hey?
  • John
    I followed the video and was able to get it working -- then noticed the comment about the redirect and was trying to get that to work when I messed it up bad enough that I had to remove the webpart from the page. Now the workaround to modify the webpart no longer works. I always get the form closed error and cannot ever get to the web part config menu.


    Have you ever seen this or do you have another workaround?
  • Andrew Woodward
    purelycreative, this forum thread shows how this can be achieved using source= query string.


    http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=1235859&SiteID;=17



    HTH
  • PurelyCreative
    Any insight on redirecting the form after submission? or changing the default message of "The form has been closed"?
blog comments powered by Disqus