<?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: Invalid People Picker entry - subsequent queries fail</title><link>https://www.infopathdev.com:443/forums/thread/107980.aspx</link><pubDate>Mon, 19 Sep 2016 17:36:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107980</guid><dc:creator>Carphunter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107980.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=107980</wfw:commentRss><description>&lt;p&gt;Think I&amp;#39;ve&amp;nbsp;got it. I was thrown off because&amp;nbsp;a test I did to see if logged in accountid and people picker accountid were equal wasn&amp;#39;t constructed correctly.&amp;nbsp; basically, in our setup, username reports domain/username.&amp;nbsp;&amp;nbsp;people picker accountid doesn&amp;#39;t include the domain, so comparing these two doesn&amp;#39;t produce a match... and the STOP rule I&amp;nbsp;made didn&amp;#39;t work.&lt;/p&gt;&lt;p&gt;For other purposes, I have a field that is stripped of that domain name, so when I compared that to the people picker accountid, I got a match.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So, to stop the error popup,&amp;nbsp;I have to make sure I don&amp;#39;t do a query that depends on a people picker value that didn&amp;#39;t resolve.&lt;/p&gt;&lt;p&gt;Base condition - I have a a text field set to take the accountID of the people picker. It auto refreshes its value whenever the picker value changes&lt;/p&gt;&lt;p&gt;first rule&amp;nbsp;on that field says if that field (the current accountid from the people picker) = the&amp;nbsp;cleaned account name (no domain)&amp;nbsp;of the username function for the logged in user, STOP.&amp;nbsp; This prevents a query from running based on the non-resolved people picker&lt;/p&gt;&lt;p&gt;subsequent rules go ahead and do the query since the people picker has resolved, and its value no longer equals the logged-in user&amp;#39;s value&lt;/p&gt;</description></item><item><title>Re: Invalid People Picker entry - subsequent queries fail</title><link>https://www.infopathdev.com:443/forums/thread/107979.aspx</link><pubDate>Mon, 19 Sep 2016 17:21:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107979</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107979.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=107979</wfw:commentRss><description>If this is a browser form, maybe set it filler temporarily and add popup dialogs in your rules so you can see the order of occurrence when you preview. :)</description></item><item><title>Re: Invalid People Picker entry - subsequent queries fail</title><link>https://www.infopathdev.com:443/forums/thread/107978.aspx</link><pubDate>Mon, 19 Sep 2016 17:10:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107978</guid><dc:creator>Carphunter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107978.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=107978</wfw:commentRss><description>&lt;p&gt;sort of what I&amp;#39;m trying..&lt;/p&gt;&lt;p&gt;&amp;nbsp;i&amp;#39;ll keep you posted... it&amp;#39;s just tough to expose all the fields to see what they are doing, and then getting the appropriate rules in place to stop or proceed.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Invalid People Picker entry - subsequent queries fail</title><link>https://www.infopathdev.com:443/forums/thread/107977.aspx</link><pubDate>Mon, 19 Sep 2016 17:03:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107977</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107977.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=107977</wfw:commentRss><description>So, the rule on the field with the default that has the account id runs your query? I wonder about having another field, not on the form, that has a default to the display name. Put the rule that runs the query on that field instead (I&amp;#39;m assuming the account id changes, then the display name changes....) and don&amp;#39;t run the query if the display name = the account id?</description></item><item><title>Re: Invalid People Picker entry - subsequent queries fail</title><link>https://www.infopathdev.com:443/forums/thread/107976.aspx</link><pubDate>Mon, 19 Sep 2016 16:57:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107976</guid><dc:creator>Carphunter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107976.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=107976</wfw:commentRss><description>&lt;p&gt;Thanks for the idea.&amp;nbsp; first shot it doesn&amp;#39;t&amp;nbsp;work because when that name doesn&amp;#39;t resolve, it appears to pass the typed in entry as the display name.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Another&amp;nbsp;issue is that I&amp;#39;m autosetting a text field to &amp;quot;accountid&amp;quot; from the picker.&amp;nbsp;&amp;nbsp; If&amp;nbsp;the name doesn&amp;#39;t resolve, it&amp;#39;s grabbing the accountid of the logged in user.&lt;/p&gt;&lt;p&gt;so...&amp;nbsp;examing what&amp;nbsp;chain of operations I might be able to do&amp;nbsp;get this to fire.&amp;nbsp;&amp;nbsp; maybe another step that says if picker accountid&amp;nbsp;= logged in user accountid, don&amp;#39;t run.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Invalid People Picker entry - subsequent queries fail</title><link>https://www.infopathdev.com:443/forums/thread/107964.aspx</link><pubDate>Sat, 17 Sep 2016 13:59:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107964</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107964.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=107964</wfw:commentRss><description>You might want to drag the fields bound to the people picker onto a form to confirm this - but I wonder if the display name field will be blank if the account id doesn&amp;#39;t resolve. Probably worth checking. :)</description></item><item><title>Invalid People Picker entry - subsequent queries fail</title><link>https://www.infopathdev.com:443/forums/thread/107963.aspx</link><pubDate>Fri, 16 Sep 2016 21:28:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107963</guid><dc:creator>Carphunter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107963.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=107963</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve got a&amp;nbsp;people picker added to a form in InfoPath 2013.&lt;/p&gt;&lt;p&gt;When that field changes, I&amp;#39;m automatically setting a second field which would use the data to do a person lookup and get some more info.&lt;/p&gt;&lt;p&gt;Problem I&amp;#39;ve got is that if the entry in the People Picker is bad (meaning&amp;nbsp;someone typed part of a name...it didn&amp;#39;t resolve), the query will still fire, and I&amp;#39;ll get an error popup.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I need to somehow only&amp;nbsp;set the second field from the people picker if the people picker has&amp;nbsp;a resolved name.&lt;/p&gt;&lt;p&gt;Is there any kind of rule or validation for that that I can put inline before the next field set and query?&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>