by
Kai
7. March 2012 12:07
Hi all! I’ve started exploring workflows and want to show how to create an InfoPath association form (and this tutorial also can be used to create an instantiation form, because it’s very similar process) for SharePoint 2010 Visual Studio workflow. This task is not very straight forward, and with its caveats. I’ll try to write detailed as possible guide and explain all possible pitfalls when creating form and link it with visual studio. Ok, lets start.
1. Creating and setting up an InfoPath 2010 form.
I’m going to create a very basic form, just to demonstrate how it works, but this can be a starting point for you. Run InfoPath Designer, click new, select blank form and then design form, your empty form should look like this one:

Next insert a table, add a label, a texbox and two buttons. First button is Ok button, and the second is the Cancel:
More...