Wednesday, 10 June 2009

Workaround - Contact Selector does not work in Browser-based InfoPath forms

While this blog hints otherwise, http://blogs.msdn.com/infopath/archive/2007/02/28/using-the-contact-selector-control.aspx, it is not possible to use the InfoPath Contact Selector control when hosting InfoPath forms in the browser.

To get around this issue, you can either:
  1. Move to ASP.NET Pages for your task form
  2. Use a dropdown instead in your InfoPath form. You can programmatically populate it as described here: http://www.bizsupportonline.net/infopath2007/programmatically-fill-populate-drop-down-list-box-infopath-2007.htm

2 comments:

Matt Laney said...

Yes, it is possible. We already use it in various browser-enabled (only) forms. It's just not browser agnostic since it's an ActiveX control. In our forms, the user selects a contact from AD to use as the approver for the form. The AccountID is then used in a workflow to create approval tasks, send emails, etc.

Anonymous said...

Hi Matt, would it be possible to post an example of this?

Thanks

Asher