Contact Selector multiple emails - InfoPath Dev
in

InfoPath Dev

Contact Selector multiple emails

Last post 12-09-2011 10:51 AM by Hilary Stoupa. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 11-14-2011 12:37 PM

    • DD2011
    • Not Ranked
    • Joined on 11-14-2011
    • Posts 2

    Contact Selector multiple emails

     

    I'm looking to use the multiple contact selector and their emails.  I'm able to use the DisplayName for the email however only able to use the email on the first contact selector.  I have a workflow where one approves and then uses the contact selector to email onto the next person.  once approved, emailed onto another person using the second contact selctor.  Rule being if approved2 > email to DisplayName however this uses the first contact selector.

    How can I use multiple contact selectors and use their specific email, DisplayName?

     Thank you in advnace,

    DD

  • 11-15-2011 11:25 AM In reply to

    Re: Contact Selector multiple emails

    Hello DD,

    and welcome to our forum.

    The trick with multiple contact selector in one form is to bind them to a referenced 'ContactSelector' folder beneath the folder that represents the field the form need to capture information for. You will find a good tutorial with a working example at the following link:

    http://blogs.msdn.com/b/uksharepoint/archive/2009/04/29/using-multiple-contact-selector-controls-in-a-single-infopath-form.aspx

    With this method you can have as much contact selector controls as you want in one form.

    Regards,

    Karsten
    Filed under:
  • 11-16-2011 07:01 AM In reply to

    • DD2011
    • Not Ranked
    • Joined on 11-14-2011
    • Posts 2

    Re: Contact Selector multiple emails

    Karsten, thank you sir for your post however my issue is making email rules from the contact selector.  I need two rules as the workflow in the form is based off of two approvers.  Form started then emailed to the first contact selector (DisplayName), first approver then reviews and approves, uses 2nd contact selector to find name and email on.  However my issue is now in this rule where i state to email to (DisplayName) however this rule then users the original DisplayName in the first contact selector.

    I need to figure out how to email to multiple contact slectors.  Anyone???

     Thanks in advance...

    DD

  • 12-09-2011 10:51 AM In reply to

    Re: Contact Selector multiple emails

    You'll have to use a filter on your XPath to select the correct display name:

    fields/group/repeatinggroup[2]/field

    For example, to get the value of "field" in the second instance of the repeating group.

    Hilary Stoupa

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