<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How can retrieve email address from the Infopath people/Group picker</title><link>https://www.infopathdev.com:443/forums/thread/88789.aspx</link><pubDate>Tue, 09 Apr 2013 13:17:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88789</guid><dc:creator>gregc72</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88789.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=88789</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m having the same issue. &amp;quot;I used substrings&amp;quot; was a little vague but enough to go on and do a little research.&lt;/p&gt;
&lt;p&gt;What I&amp;#39;m doing is setting a People picker with a rule based on the selection of another piece of data. I get the double commas.&lt;/p&gt;
&lt;p&gt;In the rule I set the Field which is a lookup to a secondary data source with some filtering then the text looking for in this case &amp;quot;,,&amp;quot; and what I wanted to translate it to &amp;quot;,&amp;quot; using the Substring Translate function.&lt;/p&gt;
&lt;p&gt;So, My Rule Value looked like this&amp;nbsp; translate(DisplayName[Project_Number = Project Number], &amp;quot;,,&amp;quot; , &amp;quot;,&amp;quot;) This did not accomplish what I thought it would, still returned the double comma.&lt;/p&gt;
&lt;p&gt;Could you elaborate on what you did a little bit more? Thanks.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How can retrieve email address from the Infopath people/Group picker</title><link>https://www.infopathdev.com:443/forums/thread/73828.aspx</link><pubDate>Wed, 11 Jan 2012 22:51:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73828</guid><dc:creator>traveladic</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73828.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=73828</wfw:commentRss><description>got it resolved just used substrings</description></item><item><title>Re: How can retrieve email address from the Infopath people/Group picker</title><link>https://www.infopathdev.com:443/forums/thread/73817.aspx</link><pubDate>Wed, 11 Jan 2012 21:15:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73817</guid><dc:creator>traveladic</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73817.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=73817</wfw:commentRss><description>&lt;p&gt;I am having a problem related to this,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have a people/group selector on a sharepoint site which infopath is to read and use for sending email but when AccountId is pulled down it add an extra comma to the AccountId witch outlook doesn&amp;#39;t recognize &lt;/p&gt;
&lt;p&gt;&amp;nbsp;example:&amp;nbsp; &amp;nbsp;&amp;quot;smith, bob&amp;quot; is what I want &amp;quot;smith,,bob&amp;quot; is what I get.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I check the information on the sharepoint site and it is ok, and all my other people/group picker in infopath work so it something in the data connection.&lt;/p&gt;</description></item><item><title>Re: How can retrieve email address from the Infopath people/Group picker</title><link>https://www.infopathdev.com:443/forums/thread/62933.aspx</link><pubDate>Sun, 09 Jan 2011 23:47:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62933</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62933.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=62933</wfw:commentRss><description>&lt;p&gt;What do you need to do with this email address?&amp;nbsp; The AccountId value works for sending emails if you&amp;#39;re trying to send workflow emails based off this field.&amp;nbsp; If that&amp;#39;s not good enough, you can retrieve the WorkEmail value of the user&amp;#39;s profile from the User Profile Service by using the technique on my blog.&amp;nbsp; You must first set the query parameter of GetUserProfileByName to the AccountId value, then query, then set some other text field to the WorkEmail value of that data set.&amp;nbsp; You can&amp;#39;t add this value to the Contact Selector schema, though, so don&amp;#39;t bother with that.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a title="Permanent Link to InfoPath – Get user information without writing code&amp;nbsp;(extended)" href="http://claytoncobb.wordpress.com/2009/06/21/userprofileservice-extended/" rel="bookmark"&gt;&lt;strong&gt;&lt;font color="#536d88"&gt;InfoPath&amp;nbsp;- Get user information without writing code&amp;nbsp;(extended)&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;One trick you&amp;#39;ll need to know is that you can&amp;#39;t fire a rule on the Contact Selector nodes, so you&amp;#39;ll need to do this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create a dummy text field called &amp;quot;username&amp;quot; that won&amp;#39;t be shown on the form&lt;/li&gt;
&lt;li&gt;Set its default value to the AccountId node of the Contact Selector&lt;/li&gt;
&lt;li&gt;Add a rule to the username field that first sets the AccountName query field of GetUserProfileByName to the username field, then queries the web service, then sets the email field&amp;#39;s value to WorkEmail per the article above&lt;/li&gt;&lt;/ol&gt;</description></item><item><title>How can retrieve email address from the Infopath people/Group picker</title><link>https://www.infopathdev.com:443/forums/thread/62264.aspx</link><pubDate>Mon, 13 Dec 2010 22:20:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62264</guid><dc:creator>herohero</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62264.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=62264</wfw:commentRss><description>&lt;p&gt;How can retrieve email address from the Infopath people/Group picker?When I add the people/Group picker into the infopath form, I only get 3 fields DisplayName,AccountId,AccountType.Can anyone show me how can I get the email either by configurations or by code.&lt;/p&gt;</description></item></channel></rss>