Open your Rolodex from infopath using the contact Selector

Source: Internet
Author: User
Speaking of outlook integration, Microsoft Office 2007 between des a new control that enables you to choose one or more e-mail addresses from the address book. you can add this control to infopath's list of m controls by using the add or remove custom controls Wizard like you wowould for any other ActiveX control. when registering the control, you can choose most of the default options. however, you must choose "field or group (any data type)" in the "specify data type options" page of the wizard. if you don't choose this binding type, the control will be disabled when you try to fill out the form. when you insert this control in a form template, it looks like this: When you insert this control in design mode, only a group node is added to the data source. you must manually add additional fields in order for this control to work correctly. to determine the final data structure shocould be, open the Properties dialog for the control and click on the "items" tab. this tab lists the schema structure that is required. as I mentioned, you must manually add these fields to the data source. this can be quite painful if you want to use the control in a lot of form templates. however, Here's a little trick . You can create a template part that contains only the data structure and no controls in the view. now, when you need to use the contact selector, First insert the template part to create the data structure. (This will insert an empty section control into the view which you can then remove .) then, go to the data source, right-click on the group node that was inserted, and select contact selector from the more menu. template parts don't support ActiveX controls so you can't insert the contact selector into the template part which wocould make this even easier. however, using this empty template part that contains only the data structure is still easier than creating the structure from scratch each time.

SCOTT ROBERTS
Senior development lead Filed under: Outlook

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.