<?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: Add items to dropdown list through VBscript.</title><link>https://www.infopathdev.com:443/forums/thread/59289.aspx</link><pubDate>Fri, 24 Sep 2010 18:52:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59289</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59289.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=59289</wfw:commentRss><description>I&amp;#39;m glad that I could help you 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Add items to dropdown list through VBscript.</title><link>https://www.infopathdev.com:443/forums/thread/59288.aspx</link><pubDate>Fri, 24 Sep 2010 18:51:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59288</guid><dc:creator>vamirineni87</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59288.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=59288</wfw:commentRss><description>&lt;p&gt;You are the man!!!&lt;/p&gt;&lt;p&gt;I never used binding before so, it was kinda confusing when I read binding. &lt;/p&gt;&lt;p&gt;I really appreciate the help. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Add items to dropdown list through VBscript.</title><link>https://www.infopathdev.com:443/forums/thread/59287.aspx</link><pubDate>Fri, 24 Sep 2010 18:42:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59287</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59287.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=59287</wfw:commentRss><description>&lt;p&gt;Here I save it to 2003 xsn...&lt;/p&gt;</description></item><item><title>Re: Add items to dropdown list through VBscript.</title><link>https://www.infopathdev.com:443/forums/thread/59286.aspx</link><pubDate>Fri, 24 Sep 2010 18:33:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59286</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59286.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=59286</wfw:commentRss><description>&lt;p&gt;Arf, ok check my image, I add 2 group and I bind my drop down to this group.&lt;/p&gt;</description></item><item><title>Re: Add items to dropdown list through VBscript.</title><link>https://www.infopathdev.com:443/forums/thread/59284.aspx</link><pubDate>Fri, 24 Sep 2010 18:12:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59284</guid><dc:creator>vamirineni87</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59284.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=59284</wfw:commentRss><description>&lt;p&gt;EDIT: I only have office 2003. So I cannot open the form you have attached. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;---------------------------------------------------------------------------------------------------------- &lt;br /&gt;&lt;/p&gt;&lt;p&gt;The error is minor.&lt;br /&gt;The ; semicolon at the end is screwing things up for some reason.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For this statement &lt;br /&gt;&amp;nbsp;oItem.selectSingleNode(&amp;quot;XPATHNameChild&amp;quot;).text = &amp;quot;name&amp;quot;&lt;br /&gt;XPATHNameChild doesnt make sence to me.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if my fields are setup like this, &amp;quot;//my:myFields/my:fldChoices&amp;quot;, there are no XPATHNameChild and XPATHIDChild.&lt;br /&gt;So do&amp;nbsp; I have to create other fields and somehow reference them to the dropdown?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Add items to dropdown list through VBscript.</title><link>https://www.infopathdev.com:443/forums/thread/59283.aspx</link><pubDate>Fri, 24 Sep 2010 18:11:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59283</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59283.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=59283</wfw:commentRss><description>&lt;p&gt;Ok, tell me if it&amp;#39;s ok for you.&lt;/p&gt;</description></item><item><title>Re: Add items to dropdown list through VBscript.</title><link>https://www.infopathdev.com:443/forums/thread/59282.aspx</link><pubDate>Fri, 24 Sep 2010 17:52:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59282</guid><dc:creator>vamirineni87</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59282.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=59282</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Here you go. The field name is &amp;#39;fldChoices&amp;#39; &lt;/p&gt;&lt;p&gt;and there is a button that tries to populate the dropdown. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Add items to dropdown list through VBscript.</title><link>https://www.infopathdev.com:443/forums/thread/59280.aspx</link><pubDate>Fri, 24 Sep 2010 17:48:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59280</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59280.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=59280</wfw:commentRss><description>&lt;p&gt;Can you please attach your form template ? when you reply click on option....&lt;/p&gt;</description></item><item><title>Re: Add items to dropdown list through VBscript.</title><link>https://www.infopathdev.com:443/forums/thread/59279.aspx</link><pubDate>Fri, 24 Sep 2010 17:44:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59279</guid><dc:creator>vamirineni87</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59279.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=59279</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have tried something very similar before. However this is the error I get when I try to preview the Infopath (2003) form.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Expected end of statement&lt;br /&gt;File:script.vbs&lt;br /&gt;Line:279&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set oItem = XDocument.DOM.selectSingleNode(&amp;quot;//my:myFields/my:fldChoices&amp;quot;).cloneNode(true);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;any ideas as to why this is occuring? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Add items to dropdown list through VBscript.</title><link>https://www.infopathdev.com:443/forums/thread/59278.aspx</link><pubDate>Fri, 24 Sep 2010 17:40:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59278</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59278.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=59278</wfw:commentRss><description>&lt;p&gt;Here some example of VBS :&lt;/p&gt;
&lt;p&gt;Dim oItem&lt;/p&gt;
&lt;p&gt;Set oItem = XDocument.DOM.selectSingleNode(&amp;quot;XPATH&amp;quot;).cloneNode(true)&lt;/p&gt;
&lt;p&gt;oItem.selectSingleNode(&amp;quot;XPATHNameChild&amp;quot;).text = &amp;quot;name&amp;quot;&lt;/p&gt;
&lt;p&gt;oItem.selectSingleNode(&amp;quot;XPATHIDChild&amp;quot;).text = &amp;quot;ID&amp;quot;&lt;/p&gt;
&lt;p&gt;XDocument.DOM.selectSingleNode(&amp;quot;XPATHParent&amp;quot;) &lt;font face="Courier New"&gt;.appendChild(oItem)&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Add items to dropdown list through VBscript.</title><link>https://www.infopathdev.com:443/forums/thread/59277.aspx</link><pubDate>Fri, 24 Sep 2010 17:25:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59277</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59277.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=59277</wfw:commentRss><description>&lt;p&gt;Ok, I suggest you to use a reference field of your node and clone it, after that you append it to real node. To do that create a new group like &amp;quot;reference&amp;quot;, right click on your repeating node, select reference...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Add items to dropdown list through VBscript.</title><link>https://www.infopathdev.com:443/forums/thread/59276.aspx</link><pubDate>Fri, 24 Sep 2010 17:18:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59276</guid><dc:creator>vamirineni87</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59276.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=59276</wfw:commentRss><description>&lt;p&gt;I used code to query for the data. Its not a list. Its user information from GetAllUserCollectionFromWeb. &lt;/p&gt;&lt;p&gt;It returns an xml file that I want to parse and load usernames into a dropdown.&amp;nbsp; &lt;/p&gt;&lt;p&gt;I figured out how to parse it and get the list of usernames and the IDs. but having problem populating the dropdown using the usernames as display names and IDs as values.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I guess may be a &amp;quot;append&amp;quot; method of some sort?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;</description></item><item><title>Re: Add items to dropdown list through VBscript.</title><link>https://www.infopathdev.com:443/forums/thread/59275.aspx</link><pubDate>Fri, 24 Sep 2010 17:07:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59275</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59275.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=59275</wfw:commentRss><description>&lt;p&gt;hi, when you say &lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;vamirineni87:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; based on xml returned by a sharepoint webservice&lt;/div&gt;&lt;/BLOCKQUOTE&gt; you mean you use the Infopath Wizard or you use code to query your list?&lt;/p&gt;</description></item><item><title>Add items to dropdown list through VBscript.</title><link>https://www.infopathdev.com:443/forums/thread/59274.aspx</link><pubDate>Fri, 24 Sep 2010 15:59:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59274</guid><dc:creator>vamirineni87</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59274.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=59274</wfw:commentRss><description>&lt;p&gt;I am trying to populate a dropdown in infopath form, based on xml returned by a sharepoint webservice. (I know what u are thinking, why code? I need to perform some business logic before populating it)&amp;nbsp; &lt;/p&gt;&lt;p&gt;The problem i am facing is that I do not know how to add the items to the drop-down.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I found this,&amp;nbsp; http://social.msdn.microsoft.com/Forums/en-US/sharepointinfopath/thread/c9593115-24c1-4c3c-960e-3149916f3fdb&lt;/p&gt;&lt;p&gt;It does exactly what I need, however its not in VB script, and I am not familiar&amp;nbsp; with converting it over to vb script. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is there a method or way to clone an item of an item from the dropdown and append to it in VBS.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;copyitem = DOM.SelectSingleNode(&amp;quot;//my:myFields/my:fldChoices&amp;quot;).clone() &lt;/p&gt;&lt;p&gt;copyitem.displayname = &amp;quot;&amp;quot;;&lt;/p&gt;&lt;p&gt;copyitem.value = &amp;quot;&amp;quot;;&lt;/p&gt;&lt;p&gt;dropdown.append(copyitem)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;thanks in advance&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>