Partager via


New Control for Picking People out of the GAL

From https://msdn2.microsoft.com/en-us/library/ms496491.aspx.   This basically provides a control for GAL selection that supercedes my custom code that appears earlier in this blog.   From what I'm reading, this is strictly a Forms Services thing from MOSS 2007.  Haven't had a chance to play with it but looks to be a godsend. 

 

The Contact Selector Control 

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Microsoft Office SharePoint Server 2007 includes the Contact Selector control, an ActiveX control that can be used on your Microsoft Office InfoPath 2007 workflow forms. The Contact Selector control enables users to specify contacts, either users or groups, and have that contact information validated. The Contact Selector control is also included in Office Professional 2007.

When a user enters a contact, the Contact Selector control attempts to validate the contact against the server. The set of users that the Contact Selector control can resolve is the same as the set that the server can resolve. This includes:

  • Local Microsoft Windows SharePoint Services 3.0 users

  • Microsoft Windows SharePoint Services 3.0 groups and users

  • Groups in the Microsoft Windows SharePoint Services 3.0 directory, which can include Active Directory or other LDAP servers

You can use the Contact Selector control on your Microsoft Office InfoPath 2007 workflow forms to enable users to specify contacts for workflow processes, such as assigning tasks or sending e-mail notifications.

Using the Contact Selector Control

Including a Contact Selector control in your workflow form requires several basic steps:

  1. Add the Contact Selector control to the Designer Control pane in Microsoft Office InfoPath 2007, so it is available for use on your workflow forms.

    For more information, see How To: Add the Contact Selector to InfoPath 2007.

  2. Insert the Contact Selector control onto your workflow form, and configure the control schema. You must also add the workflow context schema to the form as a secondary data source.

    For more information, see How To: Configure a Contact Selector Control on Your InfoPath Workflow Form.

  3. Add code to your workflow that accesses the form data sent to the workflow instance by Microsoft Windows SharePoint Services 3.0.

    For more information on accessing contact data from workflow initiation or modification forms, see How to: Access Contact Data in Workflow Initiation and Modification Forms.

    For more information on accessing contact data from workflow task forms, see How to: Access Contact Data in Workflow Edit Task Forms.