Extracting the DisplayName from the people picker control - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Extracting the DisplayName from the people picker control

Last post 01-12-2012 10:55 AM by Anson Hidajat. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-11-2012 09:20 PM

    Extracting the DisplayName from the people picker control

    Hi,

     I need to extract the Display Name from the people picker control. I've added a formula, but it still show the Display Name AccountID AccountType combination. The formula I've used is:

    xdMath:Eval(/my:myFields/my:RFRInitiatorGroup/pc:Person, "pc:DisplayName").

    I'll really appreciate some help to get this sorted out.

  • 01-12-2012 10:55 AM In reply to

    Re: Extracting the DisplayName from the people picker control

    If your people picker only has one value then you can just grab the first instance of DisplayName rather easily.

    If you require multiple values, then you'll probably need the double eval trick.  There are a few posts on this topic or a quick search will bring up quite a few results.  I haven't tried this out myself with the people picker, but I believe it should work.

    Here are some links to get your started:

    http://www.infopathdev.com/forums/p/17505/60995.aspx

    http://www.infopathdev.com/forums/p/7124/30263.aspx

    Anson Hidajat
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™

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