user name display like i:0#.f|membership|username@domain.onmicrosoft.com - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

user name display like i:0#.f|membership|username@domain.onmicrosoft.com

Last post 02-28-2018 12:06 AM by prashant99. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 02-02-2017 08:22 AM

    user name display like i:0#.f|membership|username@domain.onmicrosoft.com

    Hi, I am working on infopath form and on form load set text field as username() to show request initiator name on form. problem is that name show like i:0#.f|membership|username@domain.onmicrosoft.com. pls guide how to properly fixed that issue to show user display name properly. Thanks.
  • 12-31-2017 03:43 PM In reply to

    Re: user name display like i:0#.f|membership|username@domain.onmicrosoft.com

     Hi there, you post  from March... surprised no-one has answered!

    To fix this you can use the truncate function.  Add a text field for the user's email address and default to the following: substring-after(AccountId, "i:0#.f|membership|") 

    AccountID is your person lookup field. 

  • 02-28-2018 12:06 AM In reply to

    Re: user name display like i:0#.f|membership|username@domain.onmicrosoft.com

    Hi, -Value[Name = "PreferredName"] Value will be coming from - GetUserProfileByName - Data Connection which is you can get from below link: https://www.qdoscc.com/blog/how-automatically-retrieve-current-username-infopath-sharepoint-list-form

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