InfoPath

SharePoint 2010 workflows Not working

Problem You have a shiny new SharePoint 2010 environment and it’s running beautifully but you can’t create workflows.  Actually, some workflows that don’t have an InfoPath association screen do work, however, others, such as the 3 State Workflow don’t work.  Figure 1 below shows the 2nd screen of the 3 state workflow which is actually an InfoPath form, if you get an error on this screen then follow the steps in the solution below. Figure 1: InfoPath based 3 state approval workflow assoc...

Querying SharePoint Profile Data from an InfoPath Form

Problem Day after day I have users asking me how to get additional information about the selected user from the contact selector/people picker per my example at http://sharepointassist.com/2009/02/27/adding-a-contact-selectorpeople-picker-to-an-infopath-form/. Unfortunately, there is no easy way to do this, the only way to do this is to wire in a simple web service query that pulls the necessary information when a user chooses a name in the people picker. Upon selection, the web service ca...

How to change the name of a Complex InfoPath Data Source

Sometimes InfoPath doesn’t allow you to rename your main data source so you are stuck with a name that doesn't necessarily match with the function of the form.  This is very common for those of us that like to use Microsoft’s InfoPath templates as a head start.  For example, a form designed based upon an InfoPath sample may include the "expenseReport" name. This is quite annoying especially when you need to compile the datasource with the "xsd /c" command and the ou...

This form template is browser-compatible, but it cannot be browser-enabled on the selected site.

Problem You’re receive an error message when publishing a InfoPath form to a SharePoint server with forms services enabled.  Explanation I received this error while working on a web application other than the default (port 80) SharePoint site on the server.  For some reason when I created the new web application, which I verified was associated with an SSP, refused to render any InfoPath forms in a browser. Solution After lots of digging on Microsoft’s websites I cam up with ...

This form cannot be opened. It is not workflow enabled

Problem You've developed a custom workflow using Windows Workflow foundation, Visual Studio, and a nice little product called InfoPath, however, when you test your workflow you get the error message "This form cannot be opened. It is not workflow enabled." If this above change doesn't work follow the steps in this blog article about publishing a workflow enabled InfoPath form.   Resolution This form cannot be displayed properly because your security level is not set to &quo...