How can I auto populate current user's manager in people picker control in InfoPath 2010? - InfoPath Dev
in

InfoPath Dev

How can I auto populate current user's manager in people picker control in InfoPath 2010?

Last post 01-28-2015 11:20 AM by Bre Huston. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-27-2015 08:42 PM

    How can I auto populate current user's manager in people picker control in InfoPath 2010?

    Hi All, I have designed form which need to auto populate current user's manager's name in people picker. Unfortunately, I have used data connection 'GetUserProfileByName' to get with property - Manager but only get current manager's Display name. when I tried to load this Display Name in people picker control I found on issue: InfoPath can load name but cannot recognize it unless I click check name icon beside it. Is anybody able to help me within this problem? Thank you!
  • 01-28-2015 11:20 AM In reply to

    Re: How can I auto populate current user's manager in people picker control in InfoPath 2010?

    Hello hanyan100,

    People pickers can be tricky to work with. Try using a rule that sets the Display Name to: concat("-1;#", ManagerNameValue) The first part is a lookup.

    Let me know how it works!
    Bre 

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