This past weekend I was busy creating a presentation for MOSSIG on Wednesday about deploying InfoPath forms using Outlook 2007. So I thought I would put up a couple of quick instructions and how to’s that I ran into while putting this preso together.
First let me answer that question “Why would I deploy my forms using Outlook?” now as we know InfoPath has a couple of options to choose from when deploying
- Using SharePoint server and/or Form Services
- Using a shared location on your network
- Creating an MSI package to wrap your form deployment
- Using outlook
The first 3 make sense, you would deploy via SharePoint and Form Services if you want your form to reach everyone in your company and potentially people outside your company.
The second again makes sense if you don’t have a SharePoint server available but still want to reach all users in you company and keep the form template centrally managed
The third option is good for forms that need more elevated privileges as they can be deployed with full trust, however you now have to manage the form template using a standard SOE rather than a central location
The fourth option is great when you have forms that need to either fit into an existing email based workflow system or when you need to create a quick and dirty workflow for example capturing once off data from other users about a company dinner.
Creating the form is actually no different to creating any other form however there are some things to take into consideration when creating your form
- To get the full benefit of your form design make sure it’s security level is set to “Restricted”
- Make sure you expose the fields you want to view in outlook while your publishing the form (I’ll cover this in more detail latter on)
- Some controls will cause issues when deploying via outlook for example you cannot have a Rich Text box control with linked images enabled.
Once you have your form created you now need to publish it (for this example I’m using the Travel request form template that is included with InfoPath 2007 out of box so you can follow along)
Once your form template has been saved select File>Publish