How to access people picker AccountID values in C# - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

How to access people picker AccountID values in C#

Last post 05-15-2013 09:42 PM by Treasurydude. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 05-15-2013 09:42 PM

    How to access people picker AccountID values in C#

    Hello

    I am trying to access AccountID of people picker in C# code changed event of the field (ApplicantName),; I am getting errors while running the code as its not an object any help would be helpfull thanks

    XPathNavigator root = MainDataSource.CreateNavigator();

    String AccID = root.SelectSingleNode("/my:myFields/my:ApplicantName/pc:Person/pc:AccountId", this.NamespaceManager).Value;

     

    getting error in second line? I just need to access it and set other secondary value...

     

     

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