in

InfoPath Dev

Contact selector control, Sharepoint

Last post 03-25-2008 02:20 PM by rstepan. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 09-19-2007 05:31 AM

    Contact selector control, Sharepoint

    I want to use contact selector control on my web browser enabled infopath form. I created identical datasource to the (http://msdn2.microsoft.com/en-us/library/ms558892.aspx) article. When I enter the name into the contact selector (while previewing the form in infopath) and click on the 'check names' button the contact selector gets disabled (grey). If I click on the left 'Adress book' button on the contact selector, I am able to find any user I want, but when I add them and click OK, contact selector disables again. While previewing the form on Sharepoint, everything is the same, except that contact selector does not disable, but i rather get the error saying that something is wrong with my datasource and that instead of 'Person' node it expects 'person' node?! But my node in the datasource is 'person', not 'Person'. Any suggestions?

  • 10-17-2007 08:38 AM In reply to

    Re: Contact selector control, Sharepoint

    I know others have gotten this to work so my guess is there is some nuance with the parameters for your control and how it's bound to the data (the schema might be slightly off) which is causing the issue. This control is very picky about the schema structure and exactly what you bind it to. It is common that if a control isn't bound probably InfoPath will disable it in the view. In this case it doesn't realize it is not bound correctly until it tries to write the data out. I know how frustrating this can be, but I suggest scrutinizing the article again and verifying your bindings.

    Cheers, Shiraz

    Shiraz Cupala / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 10-18-2007 01:19 AM In reply to

    Re: Contact selector control, Sharepoint

    Dear Shiraz,

     thanks for your reply. The problem was not in my datasource, but rather in the way I added the ContactSelector control to the control toolbox in Infopath. For selector to work this way, when you're adding the ActiveX to Custom controls, this is the way to go:

    1. choose "ActiveX Control" and select "Contact selector" from the list
    2. choose "Do not include .cab file", then choose "Value" for binding property

    3. This is the crucial step: For field and group type, choose "Field or group (any data type)" and select text for data type

     Hope this helps to someone.

     Boris

  • 10-23-2007 01:06 PM In reply to

    Re: Contact selector control, Sharepoint

    You're welcome and thanks for sharing the information!

    Shiraz Cupala / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 03-25-2008 02:20 PM In reply to

    Re: Contact selector control, Sharepoint

    Shiraz,

    I need help with the Contact Selector control.  I am working on a machine with Windows Server 2003 and Office Enterprise 2007 and WSS 3.0. When I go to add the Contact Control to InfoPath, I don't see it in the ActiveX list of controls.  Is it because I'm on Server 2003?  I did see one article that states it can be found in Office Professional 2007. But, I would think if it is in Office  Professional it should also be in Enterprise.  Any suggestions on where to find it or how to install it onto my machine would be appreciated.

     

Page 1 of 1 (5 items)
Copyright © 2003-2007 Qdabra Software. All rights reserved.
View our Terms of Use.