<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: error LogID 5337</title><link>https://www.infopathdev.com:443/forums/thread/61545.aspx</link><pubDate>Fri, 19 Nov 2010 03:13:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61545</guid><dc:creator>jpat01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61545.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=61545</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Yes, I do. I added a field and named it MySaveLocation - is that all?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: error LogID 5337</title><link>https://www.infopathdev.com:443/forums/thread/61540.aspx</link><pubDate>Thu, 18 Nov 2010 22:51:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61540</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61540.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=61540</wfw:commentRss><description>Do you have a field in your template with the XPath &lt;strong&gt;/my:myFields/my:MySaveLocation&lt;/strong&gt;?</description></item><item><title>Re: error LogID 5337</title><link>https://www.infopathdev.com:443/forums/thread/61514.aspx</link><pubDate>Thu, 18 Nov 2010 11:11:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61514</guid><dc:creator>jpat01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61514.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=61514</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;The strange thing is that no error log appear in the sharepoint logs! :(&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I got the code from: http://blogs.msdn.com/b/uksharepoint/archive/2009/02/03/top-tips-for-infopath-form-development-with-sharepoint-part-1.aspx TIP #3&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I followed the instructions there, but I&amp;#39;m not sure if I got the step 2 right, as I didnt really understand it &lt;/p&gt;&lt;p class="MsoNormal" style="margin-left:36pt;line-height:10.5pt;background:none repeat scroll 0% 0% white;"&gt;&amp;quot;&lt;span style="font-size:9pt;font-family:&amp;#39;Segoe UI&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Create a property in your form’s main data source called
‘MySaveLocation’. Please not that you could also use the FormState Dictionary
to store this value (as outlined in Tip 5). We are only storing as a form
property here to show different ways of doing things&lt;/span&gt;&amp;quot;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-left:36pt;line-height:10.5pt;background:none repeat scroll 0% 0% white;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: error LogID 5337</title><link>https://www.infopathdev.com:443/forums/thread/61490.aspx</link><pubDate>Wed, 17 Nov 2010 19:16:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61490</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61490.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=61490</wfw:commentRss><description>You&amp;#39;ll need to check your SharePoint error logs for more info so you can find out what is going wrong. I&amp;#39;m assuming your second code snippet isn&amp;#39;t running when the form opens, so if the code is a problem, it would be the first snippet, which I&amp;#39;ll assume is in your loading event?</description></item><item><title>Re: error LogID 5337</title><link>https://www.infopathdev.com:443/forums/thread/61485.aspx</link><pubDate>Wed, 17 Nov 2010 13:53:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61485</guid><dc:creator>jpat01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61485.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=61485</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;bump - anyone? :S&lt;br /&gt;&lt;/p&gt;</description></item><item><title>error LogID 5337</title><link>https://www.infopathdev.com:443/forums/thread/61446.aspx</link><pubDate>Tue, 16 Nov 2010 12:17:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61446</guid><dc:creator>jpat01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61446.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=61446</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hey, another newb question! :|&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have applied these two codes in my infopath 2007 form:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;font color="#ff0000" face="Courier New" size="2"&gt;XPathNavigator xn = this.MainDataSource.CreateNavigator(); &lt;br /&gt;XPathNavigator xnSaveLocation = xn.SelectSingleNode(&amp;quot;/my:myFields/my:MySaveLocation&amp;quot;, this.NamespaceManager); &lt;br /&gt;if (this.Application.Environment.IsBrowser) &lt;br /&gt;{ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (xnSaveLocation.Value == &amp;quot;&amp;quot;) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xnSaveLocation.SetValue(e.InputParameters[&amp;quot;SaveLocation&amp;quot;].ToString()); &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#ff0000" face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;br /&gt;}&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;and&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;font color="#ff0000" face="Courier New" size="2"&gt;XPathNavigator xn = this.MainDataSource.CreateNavigator(); &lt;br /&gt;XPathNavigator xnSaveLocation = xn.SelectSingleNode(&amp;quot;/my:myFields/my:MySaveLocation&amp;quot;, this.NamespaceManager); &lt;br /&gt;FileSubmitConnection
 fc = (FileSubmitConnection)this.DataConnections[&amp;quot;SharePoint Library 
Submit&amp;quot;]; //replace with with the name of your data connection &lt;br /&gt;fc.FolderUrl = xnSaveLocation.Value.ToString(); &lt;br /&gt;fc.Execute(); &lt;br /&gt;e.CancelableArgs.Cancel = false;&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;When I open the infopath form in webbased form it get error LogID 5337. What is wrong?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;Thanks in advnace! &lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>