<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Auto populate person picker works only on new item</title><link>https://www.infopathdev.com:443/forums/thread/97193.aspx</link><pubDate>Mon, 28 Apr 2014 17:23:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97193</guid><dc:creator>nos70s</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97193.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=97193</wfw:commentRss><description>&lt;p&gt;Maybe this will work for you (i didnt see if you had done this yet or not)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;In infopath designer click on TOOLS, then FORM OPTIONS, then under Open Behavior you will see a button labeled RULES... Then you will see a &amp;quot;Rules for Opening Forms&amp;quot; window. Apply your rule here so that everytime the form first opens it sets the field to the way you need.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope that helps. If not let me knowthe issue a little clearer. Thanks&lt;/p&gt;</description></item><item><title>Auto populate person picker works only on new item</title><link>https://www.infopathdev.com:443/forums/thread/97190.aspx</link><pubDate>Mon, 28 Apr 2014 16:10:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97190</guid><dc:creator>simba_86</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97190.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=97190</wfw:commentRss><description>Hi all,
I have an issue with using the getuserprofilebyname service.
I can use it to auto populate the person picker on a new item, I can even do it upon editing an item. What I can&amp;#39;t figure out is how to use upon editing an item, in case it was blank when opening the the item for editing.
What I&amp;#39;m trying to achieve is this:
Once an item is created there is droplist whit the default value of pending. Usually the item will be saved in this status. Later on someone will come and edit the item, at which time he will change the pending value to something else. Upon this change I&amp;#39;m want the editor name to fill the person picker. Later on the item might be edited again, and I need to continue changing the person whenever the value of the droplist changes.
In case the value is pending, I want it to be blank.
Everything seems to work (I used rules to invoke the change upon vale change, and I set the values of: Accountype, AccountId, and Display name), unless I save the form with no value in the person picker. Once i save it like this no matter what I do, I&amp;#39;m unable to automatically populate the field. What&amp;#39;s even weirder is that I&amp;#39;m able to save the form with a seemingly empty person picker (I have a validation rule against saving and empty picker with a non-pending droplist value). I can&amp;#39;t however save it like this with a new item, which suggests that the rule works. and that the picker isn&amp;#39;t empty. for some reason though it seems empty.
Any suggestions</description></item></channel></rss>