<?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: Get email address from people picker</title><link>https://www.infopathdev.com:443/forums/thread/78371.aspx</link><pubDate>Tue, 08 May 2012 15:27:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78371</guid><dc:creator>traveladic</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78371.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78371</wfw:commentRss><description>&lt;p&gt;Don&amp;#39;t know how your SharePoint site permission are managed but this works for me.&lt;br /&gt;&lt;br /&gt;In the people picker the AccountId field contains the username with the domain example infopathdev\traveladic.&amp;nbsp;&amp;nbsp;I use substring-after(accountid, &amp;quot;\&amp;quot;) which change it to travaladic which the email data connection can resolve.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The&amp;nbsp;only problem I have&amp;nbsp;had with this method is, I can only get it to work with one person selected in the people picker.&amp;nbsp; When I try&amp;nbsp;this with multi people it only return the first name selected.&amp;nbsp;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Get email address from people picker</title><link>https://www.infopathdev.com:443/forums/thread/76304.aspx</link><pubDate>Mon, 12 Mar 2012 20:51:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76304</guid><dc:creator>Alec Pojidaev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76304.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=76304</wfw:commentRss><description>&lt;p&gt;Here is how:&lt;/p&gt;&lt;p&gt;&lt;a href="http://alecpojidaev.wordpress.com/2008/12/16/infopath-codeless-programming-walkthrough/"&gt;http://alecpojidaev.wordpress.com/2008/12/16/infopath-codeless-programming-walkthrough/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Get email address from people picker</title><link>https://www.infopathdev.com:443/forums/thread/76267.aspx</link><pubDate>Sun, 11 Mar 2012 19:32:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76267</guid><dc:creator>Jay@Work</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76267.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=76267</wfw:commentRss><description>&lt;p&gt;Thanks Jody, I&amp;#39;m hoping to get something that will be forever automated&lt;/p&gt;</description></item><item><title>Re: Get email address from people picker</title><link>https://www.infopathdev.com:443/forums/thread/76266.aspx</link><pubDate>Sun, 11 Mar 2012 19:30:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76266</guid><dc:creator>Jay@Work</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76266.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=76266</wfw:commentRss><description>&lt;p&gt;Exactly, so that article is no good for me.&lt;br /&gt;I need to be able to send FirstName LastName (Is that what is called Displayname?)&amp;nbsp;and return the email address for that person.&lt;/p&gt;
&lt;p&gt;The example uses FirstName and assumes the CurrentUser&lt;/p&gt;</description></item><item><title>Re: Get email address from people picker</title><link>https://www.infopathdev.com:443/forums/thread/76262.aspx</link><pubDate>Fri, 09 Mar 2012 22:59:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76262</guid><dc:creator>JodyG</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76262.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=76262</wfw:commentRss><description>&lt;p&gt;Not sure if this will help because I am not using SP...just an Access DB...&lt;/p&gt;
&lt;p&gt;I gathered all short names (such as J. DOE) and corresponding emails of my dept and stored them in a db table and added as a secondary data source.&lt;/p&gt;
&lt;p&gt;Added a role and approval section that has fields such as &amp;quot;Requestor:&amp;quot; or &amp;quot;Final Approval:&amp;quot; in which the requestor fills names out.&lt;/p&gt;
&lt;p&gt;Created different email submits for each role.&lt;/p&gt;
&lt;p&gt;On the &amp;quot;To:&amp;quot; field in the email submit, I used the follwing rule expression:&lt;/p&gt;
&lt;p&gt;@Email_Adress[@ShortName = @Requestor] or @Email_Adress[@ShortName = @Engineer]...etc.&lt;/p&gt;
&lt;p&gt;This gives an email address from the table filtered by user input of short name = particular role.&lt;/p&gt;
&lt;p&gt;Fairly low tech and a bit of work to setup...but works good for the little stuff I am doing. Downside, I had to know upfront EXACTLY what everyone&amp;#39;s email address is.&lt;/p&gt;
&lt;p&gt;Having that said, if you don&amp;#39;t know&amp;nbsp;the exact email address...you could probably use concat() or a simlar&amp;nbsp;expression to build the address based on user input.&lt;/p&gt;
&lt;p&gt;Hope that helps :)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Get email address from people picker</title><link>https://www.infopathdev.com:443/forums/thread/76242.aspx</link><pubDate>Fri, 09 Mar 2012 16:08:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76242</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76242.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=76242</wfw:commentRss><description>&lt;p&gt;But in that scenario, wouldn&amp;#39;t FirstName need to be unique for the method to return only one email address?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Get email address from people picker</title><link>https://www.infopathdev.com:443/forums/thread/76212.aspx</link><pubDate>Thu, 08 Mar 2012 19:47:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76212</guid><dc:creator>Jay@Work</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76212.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=76212</wfw:commentRss><description>&lt;p&gt;Thanks UserProfileService is the example I had seen but all the examples I saw assumed the email required was for the current user.&lt;/p&gt;
&lt;p&gt;Assuming domain/johnd&lt;/p&gt;
&lt;p&gt;We enter our user name&amp;nbsp;in the people picker as johnd and this resolves to John Doe.&lt;br /&gt;I&amp;#39;d need to take that value and return &lt;a href="mailto:john.doe@ourdomain.com"&gt;john.doe@ourdomain.com&lt;/a&gt; and put it &amp;quot;somewhere&amp;quot; so I could use it for an email action&amp;nbsp;later.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve seen examples that take the first name of the current user and match this to FirstName and return email&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Get email address from people picker</title><link>https://www.infopathdev.com:443/forums/thread/76192.aspx</link><pubDate>Thu, 08 Mar 2012 13:50:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76192</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76192.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=76192</wfw:commentRss><description>&lt;p&gt;People Picker is pretty limited. It&amp;#39;s no wonder that people turn to third party tools or complex methods; you have to work around the restrictions in People Picker. I wrote a &lt;a href="http://www.infopathdev.com/blogs/ernesto/archive/2012/01/25/reusable-contact-selectors-in-infopath.aspx"&gt;blog post &lt;/a&gt;a few weeks ago. I think the easiest alternative might be to use SharePoint’s UserProfileService to obtain the user’s info.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Get email address from people picker</title><link>https://www.infopathdev.com:443/forums/thread/76185.aspx</link><pubDate>Thu, 08 Mar 2012 05:37:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76185</guid><dc:creator>Jay@Work</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76185.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=76185</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve googled this and seen 2007 offerings that either spoke of 3rd party options or long winded ways of doing this (usually using the CurrrentUser as the example)&lt;/p&gt;&lt;p&gt;I hoped there might be something easier with 2010.&lt;br /&gt;I have a form that includes a people picker which points to our main SP site and works fine.&lt;/p&gt;&lt;p&gt;I&amp;#39;d like an action on my form that gets the email address of the person in the people picker and sends the form to them as an attachment.&lt;/p&gt;&lt;p&gt;Also, is there a way to add an action to a people picker? I only seem to be able to find a formatting option under rules.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>