<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Querying GetUserCollectionFromGroup Web Service With Runtime Parameter</title><link>https://www.infopathdev.com:443/forums/thread/40715.aspx</link><pubDate>Sat, 18 Apr 2009 06:08:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40715</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40715.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=40715</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You will get three xsds when you add a data connection. GetUserCollectionFromGroup, GetUserCollectionFromGroup1, GetUserCollectionFromGroup2. Open the GetUserCollectionFromGroup xsd and search for query fields. Replace that &amp;nbsp;element with the following.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;xsd:element name=&amp;quot;queryFields&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;xsd:complexType&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;xsd:sequence&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;xsd:element name=&amp;quot;GetUserCollectionFromGroup&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;xsd:complexType&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;xsd:sequence&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;xsd:element minOccurs=&amp;quot;0&amp;quot; maxOccurs=&amp;quot;1&amp;quot; name=&amp;quot;groupName&amp;quot; type=&amp;quot;xsd:string&amp;quot;&amp;gt;&amp;lt;/xsd:element&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/xsd:sequence&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/xsd:complexType&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/xsd:element&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/xsd:sequence&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/xsd:complexType&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/xsd:element&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now open the GetUserCollectionFromGroup1 and search for ‘GetUserCollectionFromGroup&amp;#39; and replace that element with the following.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;s:element name=&amp;quot;GetUserCollectionFromGroup&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;s:complexType&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;s:sequence&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;s:element name=&amp;quot;Users&amp;quot; minOccurs=&amp;quot;0&amp;quot; maxOccurs=&amp;quot;1&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;s:complexType&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;s:sequence&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;s:element minOccurs=&amp;quot;0&amp;quot; maxOccurs=&amp;quot;unbounded&amp;quot; name=&amp;quot;User&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;s:complexType&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;s:attribute name=&amp;quot;Notes&amp;quot; type=&amp;quot;s:string&amp;quot;&amp;gt;&amp;lt;/s:attribute&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;s:attribute name=&amp;quot;Name&amp;quot; type=&amp;quot;s:string&amp;quot;&amp;gt;&amp;lt;/s:attribute&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;s:attribute name=&amp;quot;IsSiteAdmin&amp;quot; type=&amp;quot;s:string&amp;quot;&amp;gt;&amp;lt;/s:attribute&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;s:attribute name=&amp;quot;Sid&amp;quot; type=&amp;quot;s:string&amp;quot;&amp;gt;&amp;lt;/s:attribute&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;s:attribute name=&amp;quot;ID&amp;quot; type=&amp;quot;s:string&amp;quot;&amp;gt;&amp;lt;/s:attribute&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;s:attribute name=&amp;quot;LoginName&amp;quot; type=&amp;quot;s:string&amp;quot;&amp;gt;&amp;lt;/s:attribute&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;s:attribute name=&amp;quot;Email&amp;quot; type=&amp;quot;s:string&amp;quot;&amp;gt;&amp;lt;/s:attribute&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;s:attribute name=&amp;quot;IsDomainGroup&amp;quot; type=&amp;quot;s:string&amp;quot;&amp;gt;&amp;lt;/s:attribute&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/s:complexType&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/s:element&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/s:sequence&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;lt;/s:complexType&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;lt;/s:element&amp;gt; &lt;/p&gt;
&lt;p&gt;&amp;lt;/s:sequence&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/s:complexType&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/s:element&amp;gt;&lt;/p&gt;</description></item><item><title>Querying GetUserCollectionFromGroup Web Service With Runtime Parameter</title><link>https://www.infopathdev.com:443/forums/thread/40605.aspx</link><pubDate>Tue, 14 Apr 2009 19:00:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40605</guid><dc:creator>pnewhook</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40605.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=40605</wfw:commentRss><description>&lt;p&gt;&lt;span style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;BORDER-COLLAPSE:separate;FONT:12px Verdana;WHITE-SPACE:pre-wrap;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0;" class="Apple-style-span"&gt;I&amp;#39;m trying to query the GetUserCollectionFromGroup web service to fill a drop down list with users from a specific group. When I connect to the web service I cannot use it in a drop down because the web service doesn&amp;#39;t generate a repeating structure. &lt;/span&gt;&lt;span style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;BORDER-COLLAPSE:separate;FONT:12px Verdana;WHITE-SPACE:pre-wrap;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0;" class="Apple-style-span"&gt;I followed the instructions found &lt;a title="here" href="http://74.125.95.132/search?q=cache:8JRoSAeWIYAJ:blog.ianchivers.com/wordpress/%3Fp%3D37+infopath+dropdown+sharepoint+group&amp;amp;cd=8&amp;amp;hl=en&amp;amp;ct=clnk&amp;amp;gl=ca" target="_blank"&gt;here&lt;/a&gt;, Which allows me to fill the drop down with a groups members. However, when I edited the XSD files of the data conection it turned the queryFields into user information as well. So now I cannot query by group name. I&amp;#39;m looking for a no code solution, editing XSDs is okay. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;BORDER-COLLAPSE:separate;FONT:12px Verdana;WHITE-SPACE:pre-wrap;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0;" class="Apple-style-span"&gt;I&amp;#39;ve attached a screenshot of&amp;nbsp;the dataconnection in infopath&amp;nbsp; after editing the XSD&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;BORDER-COLLAPSE:separate;FONT:12px Verdana;WHITE-SPACE:pre-wrap;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0;" class="Apple-style-span"&gt;Thanks.&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>