<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: concat names from person/group picker control in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/103836.aspx</link><pubDate>Sat, 05 Sep 2015 18:55:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103836</guid><dc:creator>chriskdixon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103836.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=103836</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Updated&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hilary,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I figured it out. I was&amp;nbsp;making it to complex . it quite simple&lt;/p&gt;</description></item><item><title>Re: concat names from person/group picker control in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/103835.aspx</link><pubDate>Sat, 05 Sep 2015 17:57:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103835</guid><dc:creator>chriskdixon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103835.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=103835</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Hello Hilary,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;m having a similar problem&amp;nbsp;I place this xdMath:Eval(xdMath:Eval(my:To/pc:Person, &amp;#39;concat(pc:DisplayName, &amp;quot;;&amp;quot;)&amp;#39;),&amp;quot;..&amp;quot;) and I get &amp;quot;my:To/pc:Person&amp;quot; does not point to a valid location path of a field or group. Can you assist me if figuring this out?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;OR&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If you can assist me in achieving what I&amp;#39;m ultimately trying to accomplish which is to gather the email address(es) from the people/group picker field. Currently, I got it where if a user inputs information in a text field then that initiates&amp;nbsp;an Action&amp;nbsp;rule with condition set to None and&amp;nbsp;Set a field&amp;#39;s value: EmailTo (AnotherTextbox)&amp;nbsp;to&amp;nbsp;substring(xdMath:Eval(xdMath:Eval(../my:To/pc:Person/pc:AccountId, &amp;#39;concat(&amp;quot;;&amp;quot;, .)&amp;#39;), &amp;quot;..&amp;quot;), 2). This sets EmailTo a textbox to DOMAIN\User; DOMAIN\User;....&lt;/p&gt;&lt;p&gt;EmailTo (a textbox field) runs an Action rule on itself condition set to None and Set a field&amp;#39;s value:EmailTo to &amp;nbsp;translate(., &amp;quot;DOMAIN\&amp;quot;, &amp;quot; &amp;quot;) and results are for example USER; USER;... if multi users are selected, but if it&amp;#39;s a single user then&amp;nbsp;USER (Without Semicolon) There are two&amp;nbsp;problems&amp;nbsp;if the user goes back to add additional users then&amp;nbsp;the EmailTo field does not get updated, unless the textbox that starts the chain reaction changes too.&amp;nbsp;If the person/group picker field allowed Action rules I could avoid using another field&amp;nbsp;as the trigger.&amp;nbsp;Hence, the reason I need a text field that Refreshes with this code xdMath:Eval(xdMath:Eval(my:To/pc:Person, &amp;#39;concat(pc:DisplayName, &amp;quot;;&amp;quot;)&amp;#39;),&amp;quot;..&amp;quot;) capture updates to the field.&lt;/p&gt;&lt;p&gt;When publishing a person/group field &amp;nbsp;to a SharePoint site it only capture the first user and I need it to capture all users inputted in the person/group picker field and&amp;nbsp;email the users selected via workflow. &lt;/p&gt;&lt;p&gt;I also had a problem that if it was one user in the&amp;nbsp;person/group picker field the user does not get the email&amp;nbsp;when there is no semicolon(;) after the username. So, I created a rule on the Submit button that if EmailTo does not contain ; it then concat( EmailTo,&amp;quot;;&amp;quot;) then the user gets the email.&lt;/p&gt;&lt;p&gt;In addition, I&amp;#39;ve tried&amp;nbsp; using this xdMath:Eval(xdMath:Eval(../my:To/pc:Person, &amp;#39;concat(../my:To/pc:Person/pc:AccountId, &amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;) but I get this error:&amp;nbsp;&amp;quot;../my:To/my:To/pc:Person/pc:AccountId&amp;quot; does not point to a valid location path of a field or group.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks Chris&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: concat names from person/group picker control in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/101898.aspx</link><pubDate>Thu, 26 Mar 2015 16:44:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101898</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101898.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=101898</wfw:commentRss><description>&lt;p&gt;Woot! Glad you have it doing whatcha&amp;#39; need. :)&lt;/p&gt;</description></item><item><title>Re: concat names from person/group picker control in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/101897.aspx</link><pubDate>Thu, 26 Mar 2015 16:32:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101897</guid><dc:creator>jawitthoft</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101897.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=101897</wfw:commentRss><description>&lt;p&gt;Hilary -&amp;nbsp;You are the bomb! Thank you so much! &lt;/p&gt;&lt;p&gt;It works perfectly now.&lt;/p&gt;</description></item><item><title>Re: concat names from person/group picker control in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/101896.aspx</link><pubDate>Thu, 26 Mar 2015 16:26:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101896</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101896.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=101896</wfw:commentRss><description>&lt;p&gt;&lt;a href="http://www.mattjimison.com/blog/2012/03/08/infopath-reference-to-undeclared-namespace-prefix-pc/"&gt;http://www.mattjimison.com/blog/2012/03/08/infopath-reference-to-undeclared-namespace-prefix-pc/&lt;/a&gt;&amp;nbsp;suggests sometimes you have to close and re-open IP after adding the people picker for it to realize you do have that namespace in the form? Maybe try that?&lt;/p&gt;</description></item><item><title>Re: concat names from person/group picker control in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/101895.aspx</link><pubDate>Thu, 26 Mar 2015 16:23:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101895</guid><dc:creator>jawitthoft</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101895.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=101895</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks! Seems so obvious now that you point out the slanted quotes. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;No luck but now have a different error.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;msxml6.dll&lt;br /&gt;Reference to undeclared namespace prefix: &amp;#39;pc&amp;#39;.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Error occurred during a call to property or method &amp;#39;Eval&amp;#39;.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: concat names from person/group picker control in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/101894.aspx</link><pubDate>Thu, 26 Mar 2015 16:07:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101894</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101894.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=101894</wfw:commentRss><description>&lt;p&gt;Yeah - the quotes got turned into &amp;quot;smart&amp;quot; quotes somewhere in the copy paste process, just update all the &amp;#39; and &amp;quot; in the formula. See how they are all slanted?&lt;/p&gt;</description></item><item><title>Re: concat names from person/group picker control in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/101893.aspx</link><pubDate>Thu, 26 Mar 2015 15:59:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101893</guid><dc:creator>jawitthoft</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101893.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=101893</wfw:commentRss><description>&lt;p&gt;Thanks&amp;nbsp;for the&amp;nbsp;quick response Hilary!&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;I tried and I&amp;#39;m still getting this error...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Unexpected character.&lt;br /&gt;xdMath:Eval(xdMath:Eval(my:group1/my:group2/my:group/pc:Person, --&amp;gt;‘&amp;lt;--concat(pc:DisplayName, “;”)’), “..”)&lt;/p&gt;</description></item><item><title>Re: concat names from person/group picker control in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/101892.aspx</link><pubDate>Thu, 26 Mar 2015 15:54:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101892</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101892.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=101892</wfw:commentRss><description>&lt;p&gt;xdMath:Eval(xdMath:Eval(my:group1/my:group2/my:group/pc:Person, ‘concat(pc:DisplayName, “;”)’), “..”)&lt;/p&gt;
&lt;p&gt;Looks like you selected DisplayName from the field picker instead of just typing it in... try this?&lt;/p&gt;</description></item><item><title>concat names from person/group picker control in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/101891.aspx</link><pubDate>Thu, 26 Mar 2015 15:46:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101891</guid><dc:creator>jawitthoft</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101891.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=101891</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi - I am hopelessly trying to follow the other posts for concatenating multiple text strings from a repeating section but keep getting errors. I am using the Person/Group Picker as my control in the repeating section and I want to concatenate the DisplayName so I can get a list of people to email. I used the following formula with no luck. What am I missing? &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;xdMath:Eval(xdMath:Eval(my:group1/my:group2/my:group/pc:Person, ‘concat(my:group1/my:group2/my:group/pc:Person/pc:DisplayName, “;”)’), “..”)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks for the help!&lt;/p&gt;&lt;p&gt;&amp;nbsp;Jennifer&lt;/p&gt;</description></item></channel></rss>