Kit Kai's Tech Blog

Blog about SharePoint

This Blog

Syndication

Search

Tags

News



  • Want to be notified when new posts are available? Click the icon below for more information on how to subscribe.

    Blog Flux MapStats: Stats and Counter for Kit Kai's Tech Blog Subscribe to Kit Kai's Tech Blog

    Locations of visitors to this page Add to Technorati Favorites

Community

Email Notifications

Archives

Sharepoint / CMS Blogs

MVPs', Leads' & RDs' Blogs

Singapore Usergroups

Overseas Usergroups

About Me

Multiple Contact Selectors

In this blog post, Scott Heim talked about adding a Contact Selector Control into your infopath form. Contact Selector Control requires a fix data structure for it to work. My first thought was, this would limit the usage, since you can't have the same field name in a InfoPath form. But wait... I remember OOTB workflow initating forms which is powered by InfoPath Forms Services (at least I was told) does have multiple Contact Selector Controls. Google doesn't help, trying various ways doesn't help... until I clicked on Add Reference, which recreates the entire structure in another section of the form.

Checked Microsoft's documentation. It says

[Quote Url=http://office.microsoft.com/en-us/infopath/HP010967521033.aspx]

The fields and groups that you add to the data source define the type and structure of the data that users can enter into your form. If you want to match the properties of an existing field or group to a new field or group, you can also add a reference field or reference group to your form

......

When you reference an existing field, Microsoft Office InfoPath 2003 creates a new field whose properties are linked and matched to the properties of the original field, including the name and data type. Both fields become reference fields, and any changes you make to one field updates the other field automatically

[/Quote]

I don't understand what they are saying. What worried me was the last statement "changes you make to one field updates the other field automatically". Nevertheless, I still gave the reference field a try, crossing my fingers that I store different information in the two fields. After some testing, I realise what the statement meant. It updates the definition, not the value of the fields, hence you can have different values... Big Smile

So how do you add multiple contact selectors?

Using a email form, first of all, follow the instructions in the blog entry to create the structure requried by Contact Selector Control. For myself, I created it under the group named "To"

Then, create a group named "CC"

Right click on the group named Person, and select "Reference"

Select CC, or other target group you want the structure to be in

And your data source should look like this.

Drag and drop the two groups onto the form, and select Contact Selector, and now you have two contact selectors which can have different values!

P.S. Screenshots are done using SnagIt. Saved me lots of time. :)

Published Sunday, June 03, 2007 5:46 PM by kitkai

Comments

# 在SharePoint Workflow中使用InfoPath Form的几个Tips @ Sunday, June 01, 2008 1:04 PM

Q:为什么InfoPathForm作为TaskForm的时候,可以通过SPWorkflowTaskProperty.ExtendedProperties属性(一个哈希表)直接获得InfoPath...

# InfoPath - Configuring Contact Selector « Steve Pietrek - Everything SharePoint@ Saturday, January 17, 2009 12:06 AM

Pingback from  InfoPath - Configuring Contact Selector « Steve Pietrek - Everything SharePoint

# Find Ip1500, Part Toshiba Satellite P15 S479 Geforce Fx Go5200 Microsoft Windows Xp Media Center Edition@ Friday, May 21, 2010 5:24 AM

Pingback from  Find Ip1500, Part Toshiba Satellite P15 S479 Geforce Fx Go5200 Microsoft Windows Xp Media Center Edition

# 300sl 0 60 Gullwing, 1963 190d Mercedes Benz 300sl@ Friday, May 21, 2010 8:19 PM

Pingback from  300sl 0 60 Gullwing, 1963 190d Mercedes Benz 300sl

# Silverado Manual Pdf, 2007 Silverado Classic Ss@ Saturday, May 22, 2010 3:49 PM

Pingback from  Silverado Manual Pdf, 2007 Silverado Classic Ss

# 2001 Lexus Ls430 Parts Rear Bumper, Sc430 2nd Hand Lexus Ls430@ Saturday, May 22, 2010 6:02 PM

Pingback from  2001 Lexus Ls430 Parts Rear Bumper, Sc430 2nd Hand Lexus Ls430

# Catalina Boat Manufacturer Morgan Yachts, Of The Solaris Catalina@ Sunday, May 23, 2010 3:04 AM

Pingback from  Catalina Boat Manufacturer Morgan Yachts, Of The Solaris Catalina

# Gs400 Parts Lexus Sc300 Accessories, Sc400 Parts Gs400 Sc300 Lexus Sc430 - 434.ja3ra.com@ Sunday, May 23, 2010 4:00 PM

Pingback from  Gs400 Parts Lexus Sc300 Accessories, Sc400 Parts Gs400 Sc300 Lexus Sc430 - 434.ja3ra.com

# Gs430 Sale Lexus Es350, S430 Sale 2008 - 331.eumreborn.com@ Tuesday, May 25, 2010 6:19 AM

Pingback from  Gs430 Sale Lexus Es350, S430 Sale 2008 - 331.eumreborn.com

# Pontiac Fiero Forum, 1988 Fiero Struts - 234.myipgirl.com@ Tuesday, May 25, 2010 4:21 PM

Pingback from  Pontiac Fiero Forum, 1988 Fiero Struts - 234.myipgirl.com

# Sale Mirada, Mirada Headlight Software - 259.tgrconversions.com@ Wednesday, May 26, 2010 2:03 AM

Pingback from  Sale Mirada, Mirada Headlight Software - 259.tgrconversions.com

# Justy Cars Sale Loyale Used Subaru Outback, Passat Wagon 2010 Subaru Outback - 89.binggreen.com@ Wednesday, May 26, 2010 2:49 AM

Pingback from  Justy Cars Sale Loyale Used Subaru Outback, Passat Wagon 2010 Subaru Outback - 89.binggreen.com

# Traffic Travis 4 Review@ Tuesday, April 19, 2011 11:01 AM

Pingback from  Traffic Travis 4 Review

# Traffic Travis 4 Review@ Tuesday, April 19, 2011 11:01 AM

Pingback from  Traffic Travis 4 Review