<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Trouble with Person/Group picker</title><link>https://www.infopathdev.com:443/forums/thread/79391.aspx</link><pubDate>Mon, 11 Jun 2012 14:01:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79391</guid><dc:creator>stgiesbrecht</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79391.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=79391</wfw:commentRss><description>&lt;p&gt;What I am doing is taking the value of the AccountID from the people picker and then comparing it to a field that is populated on form open using the&amp;nbsp;User() function.&amp;nbsp; The User() function always comes back as just the user name without the domain, the people picker seems to vary in what is returned, sometimes with the domain and sometime without.&amp;nbsp; That is why I included the two different parts of the XML file, as they are consistent in what is there based on whether the domain portion is there or not.&amp;nbsp; I am not sure if it is a client install issue of Office 2010 or something else.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I was able to create a rather long and complex if type formula to populate&amp;nbsp;a field to check against,&amp;nbsp;it tested if the field contained&amp;nbsp;the domain (and &amp;quot;\&amp;quot;) and then took just the user name and&amp;nbsp;translated it all to lowercase.&amp;nbsp; Still would like to know if anyone knows why it returns different results.&lt;/p&gt;&lt;p&gt;&amp;nbsp;This is a browser based InfoPath 2010 form.&lt;/p&gt;</description></item><item><title>Re: Trouble with Person/Group picker</title><link>https://www.infopathdev.com:443/forums/thread/79390.aspx</link><pubDate>Mon, 11 Jun 2012 13:07:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79390</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79390.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=79390</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Sorry, I&amp;#39;m a bit confused. You said &amp;quot;I stripped off the domain for the approver&amp;quot; and that &amp;quot;I am now seeing sometimes the domain is there and other time not&amp;quot;. What do you obtain out of the box? Does the domain show or not? Why did you add a rule to strip off the domain?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Trouble with Person/Group picker</title><link>https://www.infopathdev.com:443/forums/thread/79336.aspx</link><pubDate>Thu, 07 Jun 2012 15:10:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79336</guid><dc:creator>stgiesbrecht</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79336.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=79336</wfw:commentRss><description>&lt;p&gt;I am using a Person/Group picker control for a form to determine who needs to approve it.&amp;nbsp; I hide the approval section if the currently logged in user is not equal to the value of the approver.&amp;nbsp; I am using the translate command to ensure that the case of both fields is the same.&amp;nbsp; I also used the substring &amp;quot;\&amp;quot; so that I stripped off the domain for the approver.&amp;nbsp; I am now seeing sometimes the domain is there and other time not, so when it is not the string comes up empty and does not display the approval section.&amp;nbsp; When I look at the XML file for two files this is what I am seeing:&lt;/p&gt;&lt;p&gt;This one does not work&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;my:review1&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;pc:Person&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;pc:DisplayName&amp;gt;doej@acme.com&amp;lt;/pc:DisplayName&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;pc:AccountId&amp;gt;DoeJ&amp;lt;/pc:AccountId&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;pc:AccountType&amp;gt;&amp;lt;/pc:AccountType&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/pc:Person&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/my:review1&amp;gt;&lt;/p&gt;&lt;p&gt;This one works&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;lt;my:review1&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;pc:Person xmlns:pc=&amp;quot;http://schemas.microsoft.com/office/infopath/2007/PartnerControls&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;pc:DisplayName&amp;gt;Doe, Joe&amp;lt;/pc:DisplayName&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;pc:AccountId&amp;gt;ACME\DoeJ&amp;lt;/pc:AccountId&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;pc:AccountType&amp;gt;User&amp;lt;/pc:AccountType&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/pc:Person&amp;gt;&lt;br /&gt;&amp;lt;/my:review1&amp;gt;&lt;/p&gt;&lt;p&gt;Not sure why the one that works has the extra line with schema in it.&amp;nbsp; We are using SharePoint 2010, Office 2010 and qRules 4 in the form.&lt;/p&gt;&lt;p&gt;Any ideas on this.&amp;nbsp; Thanks, Scott&lt;/p&gt;</description></item></channel></rss>