There are heaps of articles and blogs out there that describe how to create the Contact Selector control in InfoPath 2007. I guess I just want to take the opportunity to refresh everyone’s mind on this and also show you how to create the Contact Selector in InfoPath 2010 for an InfoPath 2007 form.
Let’s start with InfoPath 2007:
Creating the control:
1. In InfoPath select Insert -> More Controls
2. A task pane comes up and on the very bottom you will have the option Add or Remove Custom Controls
3. Select this option, Click Add in the next dialog box
4. Select ActiveX Control and click Next
5. Select Contact Selector from the list of controls and click Next
6. Select Don’t Include a .cab file and click Next
7. Select Value for the binding property and click Next
8. Select Field or Group as the Field or Group Type and click Finish
9.Click Close and then OK
1. Navigate to the Data Source pane in InfoPath
1. Open up a text editor of your choice (e.g. NotePad or WordPad)
<Context siteUrl=”http://<YourServerName>”/>
3. Save the file as Context.xml –
6. Select “Create a new connection to” and then “Receive data“
7. Select XML document and click Next
8. Browse to the Context.xml file you created earlier and select it, then click Next
9. Leave the default option selected and click Next