Current User's Manager in People Picker on Form Load - InfoPath Dev
in

InfoPath Dev

Current User's Manager in People Picker on Form Load

Last post 07-03-2014 05:05 AM by wilkies0106aw. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-30-2014 03:52 AM

    Current User's Manager in People Picker on Form Load

    All,

    I've adapted the following to get the current's users manger's preferred (FullName) into a people picker on a form load. I seem to have been around the houses to get the Manager Full Name and not the account name into the people picker..

     i.e. 2 getuserprofilebyname data connections, multiple rules on several extra fields.

    Is there a cleaner, simpler, best practice way?

    I know I could use the GetCommonManager option. Both with the GetCommonManager and the 2nd getuserprofilebyname on form load it appears as if the name doesn't resolve fully. i.e. the name text is in a red colour (color).

    Thanks

    W 

  • 07-03-2014 05:05 AM In reply to

    Re: Current User's Manager in People Picker on Form Load

     OK it must have been all me.

    I used a second data connection, this time using the GetCommonManager option and a form load rule

    The rule condition is if Account ID is blank (of your people picker for your manager) 

    Set DisplayName, AccountID and AccountType ( (of your people picker for your manager) 

    Yes really that simple. 

     

     

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