<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How to load xml into a Form</title><link>https://www.infopathdev.com:443/forums/thread/46011.aspx</link><pubDate>Wed, 19 Aug 2009 07:24:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46011</guid><dc:creator>sekf01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46011.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=46011</wfw:commentRss><description>&lt;p&gt;Thanks for your answer. &lt;/p&gt;&lt;p&gt;Am I correct in saying that the XmlLocation query parameter would only work if XML file has been saved in a&amp;nbsp; SharePoint Form Library?&lt;/p&gt;&lt;p&gt;The problem I have is I am not saving the form to SharePoint Form Library, but am saving the data to the SQL database. I do not want the user to save the form to the SharePoint Form Library as we want to keep the data in a separate database. We only want to use SharePoint as a document store, not data store.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks&lt;br /&gt;Sekf &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;</description></item><item><title>Re: How to load xml into a Form</title><link>https://www.infopathdev.com:443/forums/thread/46006.aspx</link><pubDate>Wed, 19 Aug 2009 07:04:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46006</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46006.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=46006</wfw:commentRss><description>&lt;p&gt;Hi Sekf,&lt;/p&gt;
&lt;p&gt;Use the XsnLocation and XmlLocation query parameters to specify which form to open:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;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:EN-US;"&gt;&lt;em&gt;&lt;u&gt;&lt;a href="http://%3cyour-server-name%3e/_layouts/formserver.aspx?XsnLocation=/FormServerTemplates/ExpenseReport-Published.xsn&amp;amp;OpenIn=Browser&amp;amp;DocID=25"&gt;http://&amp;lt;your-server-name&amp;gt;/_layouts/formserver.aspx?XsnLocation=/FormServerTemplates/ExpenseReport-Published.xsn&amp;amp;OpenIn=Browser&amp;amp;DocID=25&lt;/a&gt;&lt;/u&gt;&lt;/em&gt;&lt;/span&gt;&lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;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:EN-US;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;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:EN-US;"&gt;&lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;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:EN-US;"&gt;&lt;em&gt;&lt;a href="http://%3cservername%3e/_layouts/FormServer.aspx?XmlLocation"&gt;/{@DocID}.xml&amp;amp;OpenIn=Browser&amp;quot;&amp;gt;http://&amp;lt;servername&amp;gt;/_layouts/FormServer.aspx?XmlLocation=/&amp;lt;your-form-library&amp;gt;/&lt;b style="mso-bidi-font-weight:normal;"&gt;{@DocID}&lt;/b&gt;.xml&amp;amp;OpenIn=Browser&lt;/a&gt; &lt;/em&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;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:EN-US;"&gt;&lt;font face="Arial"&gt;Substitute your XsnLocation or XmlLocation on the server. The DocID=25 is an example of how you can pass a parameter to the form. The form would then need some OnLoad code to load the form but that&amp;#39;s probably too much work for what you need. The second example is better. Just specify the name of the XML. In the exaple here, we are using this link on our SharePoint DataView webpart to open an XML based on the value of a column that the user would click on. &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;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:EN-US;"&gt;&lt;font face="Arial"&gt;Hope this helps a little....&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to load xml into a Form</title><link>https://www.infopathdev.com:443/forums/thread/45855.aspx</link><pubDate>Fri, 14 Aug 2009 07:12:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45855</guid><dc:creator>sekf01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45855.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=45855</wfw:commentRss><description>&lt;p&gt;I have a form (published to Sharepoint) that has a Submit button, which submits the XML data of the form to the database via a WCF web service (using the Submit action). &lt;br /&gt;&lt;/p&gt;&lt;p&gt;I have a .NET web application that has a button that when clicked should allow the user to open the form and pre-load the form with the XML data previously saved to the database. I have some javascript in the aspx page that calls a window.open function passing in the sharepoint URL which should open the form in a browser window. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;I have search on the InfoPath Dev forums for an answer and I simply cannot find the answers to the questions I&amp;#39;m seeking: -&lt;/p&gt;&lt;p&gt;1. How can I load the form with the XML data? A C# code snippet would be useful. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;2. Where should this code be placed a) in the aspx page of the .NET web application or B) in the codebehind of the InfoPath form using VSTA? &lt;/p&gt;&lt;p&gt;&amp;nbsp;Regards&lt;/p&gt;&lt;p&gt;Sekf &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>