<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Person Group Picker DisplayName does not update</title><link>https://www.infopathdev.com:443/forums/thread/95390.aspx</link><pubDate>Thu, 23 Jan 2014 14:55:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95390</guid><dc:creator>jbrown08322</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95390.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=95390</wfw:commentRss><description>&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 8pt;"&gt;&lt;font face="Calibri" size="3"&gt;Having a problem with Person Group Picker. I add a PGP
control to the form and then drag it’s DisplayName and AccountID there also to
view/reference. &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 8pt;"&gt;&lt;font face="Calibri" size="3"&gt;If I manually enter a name, say John Doe, into the control
and check it, the DisplayName shows “John Doe” and the AccountID shows “i:0#.f|membership|jdoe@someplace.com”
like I’d expect.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 8pt;"&gt;&lt;font face="Calibri" size="3"&gt;However what I really want to do is default the control to
the current users name. I’ve found posts that explain to set the default value
for both DisplayName and AccountID to UserName(). That works, except that the
DisplayName remains set to “i:0#.f|membership|jdoe@someplace.com”. Does not
seem to update it even when form is submitted or saved.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 8pt;"&gt;&lt;font face="Calibri" size="3"&gt;I tried leaving the DisplayName default unset. But then
DisplayName just remains blank.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 8pt;"&gt;&lt;font face="Calibri" size="3"&gt;Is there a way to trigger and update of this field?&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 8pt;"&gt;&lt;font face="Calibri" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 8pt;"&gt;&lt;font face="Calibri" size="3"&gt;Background: I’m using InfoPath 2013 published to a
SharePoint/Office 365 site.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&amp;nbsp;&lt;/font&gt;&lt;/p&gt;</description></item></channel></rss>