<?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: specify the location for the "dynamic" XML file</title><link>https://www.infopathdev.com:443/forums/thread/29590.aspx</link><pubDate>Sun, 22 Jun 2008 03:37:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29590</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29590.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=29590</wfw:commentRss><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;Would just adding the XML file as a resource to be included with the form template solve this? This link from Microsoft Office Online explains more about resource files: &lt;a href="http://office.microsoft.com/en-us/infopath/HA100738031033.aspx"&gt;http://office.microsoft.com/en-us/infopath/HA100738031033.aspx&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In InfoPath 2007, when you add a data connection that receives data from an external XML file, you can click the Resource Files button in the screen of the Data Connection Wizard that has the text field for the location of the XML file. That button will open the Resource Files window, where you can add your XML file, like the EventCAML.xml from the sample you were looking at.&lt;/p&gt;</description></item><item><title>specify the location for the "dynamic" XML file</title><link>https://www.infopathdev.com:443/forums/thread/29544.aspx</link><pubDate>Fri, 20 Jun 2008 13:49:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29544</guid><dc:creator>genecox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29544.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=29544</wfw:commentRss><description>&lt;p&gt;&lt;span style="FONT-SIZE:11pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&amp;nbsp;When you add a data connection that receives data from an external XML file, you generally have to specify the&amp;nbsp;location for the XML file - specifically if it&amp;#39;s dynamic.&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:11pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;Goofy question, but where, for instance, to place it on Sharepoint server location when used as a Web Service shown in: &lt;/span&gt;&lt;span style="FONT-SIZE:11pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-SIZE:11pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;a href="http://enterprise-solutions.swits.net/infopath2003/programmatically-add-item-sharepoint-2003-calendar-infopath-2003-script.htm"&gt;http://enterprise-solutions.swits.net/infopath2003/programmatically-add-item-sharepoint-2003-calendar-infopath-2003-script.htm&lt;/a&gt;. My working example&amp;nbsp; currently is pointed to my local drive/subdirectory.&amp;nbsp; The Web Service is stored in : &lt;font face="Courier New"&gt;&lt;a href="http:"&gt;//_vti_bin/Lists.asmx&amp;quot;&amp;gt;http://&amp;lt;Server&amp;gt;/&amp;lt;Site&amp;gt;/_vti_bin/Lists.asmx&lt;/a&gt;. &lt;/font&gt;&lt;font face="Calibri"&gt;Where do I stored the &amp;quot;dynamic&amp;quot; reference when I publish this to a Sharepoint portal - UNC reference, etc. ?&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:11pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:11pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;Thanks - Gene&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>