<?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: How to get all the values from the Contact Selector control to be used in SharePoint Workflow?</title><link>https://www.infopathdev.com:443/forums/thread/42323.aspx</link><pubDate>Sun, 31 May 2009 15:44:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42323</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42323.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42323</wfw:commentRss><description>&lt;p&gt;It does work if you do it right, is very simple, and doesn&amp;#39;t require full trust on the form when complete.&lt;/p&gt;</description></item><item><title>Re: How to get all the values from the Contact Selector control to be used in SharePoint Workflow?</title><link>https://www.infopathdev.com:443/forums/thread/42317.aspx</link><pubDate>Sun, 31 May 2009 10:44:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42317</guid><dc:creator>sgandhi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42317.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42317</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Rajitha:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Use ‘this.NamespaceManager&amp;#39; instead of &amp;#39;nsManager&amp;#39;.&lt;/p&gt;
&lt;p&gt;XPathNavigator nodeNav = ipFormNav.SelectSingleNode(&amp;quot;/my:myFields/my:group9/my:Person/my:DisplayName&amp;quot;, this.NamespaceManager);&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;I have completed that and now looking at some different thing. I have posted that as a new entry. Kindly see and do let me know your valuable comments. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to get all the values from the Contact Selector control to be used in SharePoint Workflow?</title><link>https://www.infopathdev.com:443/forums/thread/42316.aspx</link><pubDate>Sun, 31 May 2009 10:43:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42316</guid><dc:creator>sgandhi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42316.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42316</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;warrtalon:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;Don&amp;#39;t use code:&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;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you very much for the help. I did that with the code as this codeless method was not working in my case properly.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to get all the values from the Contact Selector control to be used in SharePoint Workflow?</title><link>https://www.infopathdev.com:443/forums/thread/42306.aspx</link><pubDate>Sat, 30 May 2009 14:25:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42306</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42306.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42306</wfw:commentRss><description>&lt;p&gt;Don&amp;#39;t use code:&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: How to get all the values from the Contact Selector control to be used in SharePoint Workflow?</title><link>https://www.infopathdev.com:443/forums/thread/42304.aspx</link><pubDate>Sat, 30 May 2009 11:49:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42304</guid><dc:creator>sgandhi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42304.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42304</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Rajitha:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Use ‘this.NamespaceManager&amp;#39; instead of &amp;#39;nsManager&amp;#39;.&lt;/p&gt;
&lt;p&gt;XPathNavigator nodeNav = ipFormNav.SelectSingleNode(&amp;quot;/my:myFields/my:group9/my:Person/my:DisplayName&amp;quot;, this.NamespaceManager);&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hi Ranjitha,&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks for the reply. I tried to implement that you said &amp;quot; this.NamespaceManager&amp;quot; but it is not available for me to be used. Any Idea what may be wrong in this. Kindly see the code that i am trying to use. I am looking for a way by which i should be able to get all the values present in the Contact Selector Control (more than one).&lt;/p&gt;&lt;p&gt;If you can guide me in this I would be glad.&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;Sumeet Gandhi &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to get all the values from the Contact Selector control to be used in SharePoint Workflow?</title><link>https://www.infopathdev.com:443/forums/thread/42302.aspx</link><pubDate>Sat, 30 May 2009 09:39:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42302</guid><dc:creator>Rajitha</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42302.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42302</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Use ‘this.NamespaceManager&amp;#39; instead of &amp;#39;nsManager&amp;#39;.&lt;/p&gt;
&lt;p&gt;XPathNavigator nodeNav = ipFormNav.SelectSingleNode(&amp;quot;/my:myFields/my:group9/my:Person/my:DisplayName&amp;quot;, this.NamespaceManager);&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>How to get all the values from the Contact Selector control to be used in SharePoint Workflow?</title><link>https://www.infopathdev.com:443/forums/thread/42297.aspx</link><pubDate>Sat, 30 May 2009 05:27:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42297</guid><dc:creator>sgandhi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42297.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42297</wfw:commentRss><description>&lt;p&gt;Hi, &lt;br /&gt;&lt;/p&gt;&lt;p&gt;I am using contact selector and when I try to access the value in SharePoint  workflow using Visual Studio i get the error as:&lt;br /&gt;&lt;br /&gt;Namespace prefix &amp;#39;my&amp;#39; is  not defined.&lt;br /&gt;&lt;br /&gt;Below is the code that I am using to get the values from the  contact selector.
&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;

&lt;table style="table-layout:fixed;height:100%;" cellpadding="0" cellspacing="0"&gt;

&lt;tr&gt;
&lt;td&gt;
&lt;div&gt;
&lt;div class="chat in"&gt;
&lt;div class="msg Nth"&gt;&lt;br /&gt;&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;SPFile  file = workflowProperties.Item.File;&lt;br /&gt;if (file == null)&lt;br /&gt;return;&lt;br /&gt;byte[]  xmlFormData = file.OpenBinary();&lt;br /&gt;XPathDocument ipForm = null;&lt;br /&gt;using  (MemoryStream ms = new MemoryStream(xmlFormData))&lt;br /&gt;{&lt;br /&gt;ipForm = new  XPathDocument(ms);&lt;br /&gt;ms.Close();&lt;br /&gt;}&lt;br /&gt;if (ipForm ==  null)&lt;br /&gt;return;&lt;br /&gt;XPathNavigator ipFormNav =  ipForm.CreateNavigator();&lt;br /&gt;XmlNamespaceManager nsManager = new  XmlNamespaceManager(new NameTable());&lt;br /&gt;XPathNavigator nodeNav =  ipFormNav.SelectSingleNode(&amp;quot;/my:myFields/my:group9/my:Person/my:DisplayName&amp;quot;,  nsManager);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;catch (Exception ex)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/div&gt;
&lt;div class="msg Nth"&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class="msg Nth"&gt;I want to achive the following.&lt;br /&gt;&lt;br /&gt;1. get the
values present in the contact selector (the values are more than one :
more that one people are selected in that control)&lt;br /&gt;&lt;br /&gt;2. send an email to all the people present in the control  (more than one)&lt;/div&gt;&lt;div class="msg Nth"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="msg Nth"&gt;Thanks&lt;/div&gt;&lt;div class="msg Nth"&gt;Sumeet Gandhi &lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</description></item></channel></rss>