<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Contact Selector working in one form and not another</title><link>https://www.infopathdev.com:443/forums/thread/93070.aspx</link><pubDate>Mon, 16 Sep 2013 15:24:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93070</guid><dc:creator>j-red</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93070.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=93070</wfw:commentRss><description>Basically, a contact selector only seems to work inside the &lt;font face="Lucida Console" size="2"&gt;&amp;lt;my:&amp;gt;&lt;/font&gt; namespace.
&lt;p&gt;
I have moved it out of my web service section of the schema into a new &lt;font face="Lucida Console" size="2"&gt;&amp;lt;my:&amp;gt;&lt;/font&gt; section and it works again. However I still need to find a way to pass this section into my web service with the rest of the XML data.
&lt;p&gt;
I&amp;#39;ll probably have to create a separate datasource and web service operation to write the contact data after the initial call. Not the cleanest way, but it should work.
&lt;p&gt;
EDIT:
&lt;p&gt;
Actually, is there a way to set up a retrieve datasource while only using the  &lt;font face="Lucida Console" size="2"&gt;&amp;lt;my:&amp;gt;&lt;/font&gt; namespace? I can do it with submit but every time I try with retrieve it creates a secondary datasource with the web service&amp;#39;s namespaces, it will never use my custom schema.</description></item><item><title>Re: Contact Selector working in one form and not another</title><link>https://www.infopathdev.com:443/forums/thread/93067.aspx</link><pubDate>Mon, 16 Sep 2013 13:58:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93067</guid><dc:creator>j-red</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93067.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=93067</wfw:commentRss><description>Hi Hilary,
&lt;p&gt;
I have tested this a few different ways:
&lt;p&gt;
1) New form from blank, I added only a contact selector and it worked.
&lt;p&gt;
2) New form from web service, I added only a contact selector to the web service operation, it didn&amp;#39;t work.
&lt;p&gt;
3) I saved the web service form as source, edited the manifest to make all the fields editable and opened up that schema in a new blank form, it didn&amp;#39;t work.
&lt;p&gt;

The only difference between the 1) and 3) now are the names of the fields, with 1) having my: prefix/namespaces and 3) having s: and tns: prefix/namespaces. Neither of them are connected to a datasource.
&lt;p&gt;

This is the schema for 1) (The working one):
&lt;p&gt;

&lt;font face="Lucida Console" size="2"&gt;

&amp;lt;my:myFields xmlns:my=&amp;quot;http://schemas.microsoft.com/office/infopath/2003/myXSD/2013-09-16T14:33:37&amp;quot; xmlns:xd=&amp;quot;http://schemas.microsoft.com/office/infopath/2003&amp;quot;&amp;gt;
	&amp;lt;my:dataFields&amp;gt;
		&amp;lt;my:ContactTest&amp;gt;
			&amp;lt;my:TContactTest&amp;gt;
				&amp;lt;my:Requestor&amp;gt;
					&amp;lt;my:Person&amp;gt;
						&amp;lt;my:DisplayName/&amp;gt;
						&amp;lt;my:AccountId/&amp;gt;
						&amp;lt;my:AccountType/&amp;gt;
					&amp;lt;/my:Person&amp;gt;
				&amp;lt;/my:Requestor&amp;gt;
			&amp;lt;/my:TContactTest&amp;gt;
		&amp;lt;/my:ContactTest&amp;gt;
	&amp;lt;/my:dataFields&amp;gt;
	&amp;lt;xd:SchemaInfo LocalName=&amp;quot;myFields&amp;quot; NamespaceURI=&amp;quot;http://schemas.microsoft.com/office/infopath/2003/myXSD/2013-09-16T14:33:37&amp;quot;&amp;gt;
		&amp;lt;xd:Namespaces&amp;gt;
			&amp;lt;xd:Namespace LocalName=&amp;quot;myFields&amp;quot; NamespaceURI=&amp;quot;http://schemas.microsoft.com/office/infopath/2003/myXSD/2013-09-16T14:33:37&amp;quot;/&amp;gt;
		&amp;lt;/xd:Namespaces&amp;gt;
	&amp;lt;/xd:SchemaInfo&amp;gt;
	&amp;lt;xd:DataConnection Name=&amp;quot;Context&amp;quot;&amp;gt;
		&amp;lt;Context siteUrl=&amp;quot;&amp;quot; xmlns:my=&amp;quot;http://schemas.microsoft.com/office/infopath/2003/myXSD/2013-09-16T14:33:37&amp;quot; xmlns:xd=&amp;quot;http://schemas.microsoft.com/office/infopath/2003&amp;quot;&amp;gt;
			&amp;lt;xd:SchemaInfo LocalName=&amp;quot;Context&amp;quot; NamespaceURI=&amp;quot;&amp;quot;&amp;gt;
				&amp;lt;xd:Namespaces&amp;gt;
					&amp;lt;xd:Namespace LocalName=&amp;quot;Context&amp;quot; NamespaceURI=&amp;quot;&amp;quot;/&amp;gt;
				&amp;lt;/xd:Namespaces&amp;gt;
			&amp;lt;/xd:SchemaInfo&amp;gt;
		&amp;lt;/Context&amp;gt;
	&amp;lt;/xd:DataConnection&amp;gt;
&amp;lt;/my:myFields&amp;gt;

&lt;/font&gt;
&lt;p&gt;
&lt;p&gt;
And this is the schema for 3) (The not working one)
&lt;p&gt;
&lt;font face="Lucida Console" size="2"&gt;
&amp;lt;dfs:myFields xmlns:ns1=&amp;quot;http://schemas.microsoft.com/office/infopath/2003/myXSD/2013-09-16T14:34:54&amp;quot; xmlns:dfs=&amp;quot;http://schemas.microsoft.com/office/infopath/2003/dataFormSolution&amp;quot; xmlns:tns=&amp;quot;http://tempuri.org/&amp;quot; xmlns:s1=&amp;quot;http://schemas.microsoft.com/office/infopath/2003/myXSD/2013-08-29T14:31:03&amp;quot; xmlns:s2=&amp;quot;http://schemas.microsoft.com/office/infopath/2003/myXSD/2013-08-12T19:02:25&amp;quot; xmlns:my=&amp;quot;http://schemas.microsoft.com/office/infopath/2003/myXSD/2013-09-16T14:45:00&amp;quot; xmlns:xd=&amp;quot;http://schemas.microsoft.com/office/infopath/2003&amp;quot;&amp;gt;
	&amp;lt;dfs:dataFields&amp;gt;
		&amp;lt;tns:ContactTest&amp;gt;
			&amp;lt;s1:TContactTest&amp;gt;
				&amp;lt;s1:Requestor&amp;gt;
					&amp;lt;s1:Person&amp;gt;
						&amp;lt;s1:DisplayName/&amp;gt;
						&amp;lt;s1:AccountId/&amp;gt;
						&amp;lt;s1:AccountType/&amp;gt;
					&amp;lt;/s1:Person&amp;gt;
				&amp;lt;/s1:Requestor&amp;gt;
			&amp;lt;/s1:TContactTest&amp;gt;
		&amp;lt;/tns:ContactTest&amp;gt;
	&amp;lt;/dfs:dataFields&amp;gt;
	&amp;lt;xd:SchemaInfo LocalName=&amp;quot;myFields&amp;quot; NamespaceURI=&amp;quot;http://schemas.microsoft.com/office/infopath/2003/dataFormSolution&amp;quot;&amp;gt;
		&amp;lt;xd:Namespaces&amp;gt;
			&amp;lt;xd:Namespace LocalName=&amp;quot;myFields&amp;quot; NamespaceURI=&amp;quot;http://schemas.microsoft.com/office/infopath/2003/dataFormSolution&amp;quot;/&amp;gt;
		&amp;lt;/xd:Namespaces&amp;gt;
	&amp;lt;/xd:SchemaInfo&amp;gt;
	&amp;lt;xd:DataConnection Name=&amp;quot;Context&amp;quot;&amp;gt;
		&amp;lt;Context siteUrl=&amp;quot;&amp;quot; xmlns:my=&amp;quot;http://schemas.microsoft.com/office/infopath/2003/myXSD/2013-09-16T14:45:00&amp;quot; xmlns:xd=&amp;quot;http://schemas.microsoft.com/office/infopath/2003&amp;quot;&amp;gt;
			&amp;lt;xd:SchemaInfo LocalName=&amp;quot;Context&amp;quot; NamespaceURI=&amp;quot;&amp;quot;&amp;gt;
				&amp;lt;xd:Namespaces&amp;gt;
					&amp;lt;xd:Namespace LocalName=&amp;quot;Context&amp;quot; NamespaceURI=&amp;quot;&amp;quot;/&amp;gt;
				&amp;lt;/xd:Namespaces&amp;gt;
			&amp;lt;/xd:SchemaInfo&amp;gt;
		&amp;lt;/Context&amp;gt;
	&amp;lt;/xd:DataConnection&amp;gt;
&amp;lt;/dfs:myFields&amp;gt;
&lt;/font&gt;
&lt;p&gt;
Sorry I can&amp;#39;t get the spacing to work in the forum...
&lt;p&gt;

It seems to me that the contact selector simply NEEDS the myXSD namespace and can&amp;#39;t handle the dataform namespace that the web service requires.
&lt;p&gt;</description></item><item><title>Re: Contact Selector working in one form and not another</title><link>https://www.infopathdev.com:443/forums/thread/93031.aspx</link><pubDate>Fri, 13 Sep 2013 23:16:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93031</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93031.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=93031</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;m guessing that you had your cursor in a section bound to the query fields when you added the contact selector. You don&amp;#39;t want it in the query fields. Your first screenshot shows a form with an editable schema - your second shows a form that appears to have been created from another data source - a web service maybe?&lt;/p&gt;</description></item><item><title>Contact Selector working in one form and not another</title><link>https://www.infopathdev.com:443/forums/thread/93025.aspx</link><pubDate>Fri, 13 Sep 2013 21:40:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93025</guid><dc:creator>j-red</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93025.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=93025</wfw:commentRss><description>Hi I have a form with a working Contact selector. It&amp;#39;s main datasource was a submit to web service. 
&lt;p&gt;
However I wanted to return the ID of the record just entered for use in a workflow so I created a new form with a retrieve from web service datasource and the contact selector stopped working.
&lt;p&gt;
I can search, but when I try and add the user the field is greyed out.
&lt;p&gt;
I have readded the custom contact selector control exactly the same way, I have recreated the Context datasource (they both use the same file) and the fields are exactly the same (no spelling mistake).
&lt;p&gt;
The only difference is that in the original submit form the fields are editable and the datasource is submit:
&lt;p&gt;
&lt;a href="http://imgur.com/MJ6MNHF"&gt;http://imgur.com/MJ6MNHF&lt;/a&gt;
&lt;p&gt;
and in the new form the fields are not editable and the datasource is retrieve.
&lt;p&gt;
&lt;a href="http://imgur.com/XyLoBBL"&gt;http://imgur.com/XyLoBBL&lt;/a&gt;
&lt;p&gt;
I have even tried saving the form as source and changing the manifest file to make the fields editable (then opened the manifest in a new form) and it still didn&amp;#39;t work when the fields were editable. 
&lt;p&gt;
Could it be the datasource type (submit vs receive)? Or the fact that it&amp;#39;s under three extra levels of folders? Or something else?
&lt;p&gt;
Any ideas?</description></item></channel></rss>