<?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: How to submit the form to a document library with relative path instead of hard coded path?</title><link>https://www.infopathdev.com:443/forums/thread/32737.aspx</link><pubDate>Thu, 02 Oct 2008 15:19:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32737</guid><dc:creator>Connie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32737.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=32737</wfw:commentRss><description>&lt;p&gt;Thanks for the response.&amp;nbsp; We build the template with InfoPath 2007 and save the template as 2003 version.&amp;nbsp; We tried to use &amp;#39;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;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;thisXDocument.Solution.URI&lt;/span&gt;&amp;#39; to capture the document&amp;#39;s current path.&amp;nbsp; However, it works only in the browser instead of client application.&amp;nbsp; Any idea?&lt;/p&gt;</description></item><item><title>Re: How to submit the form to a document library with relative path instead of hard coded path?</title><link>https://www.infopathdev.com:443/forums/thread/32632.aspx</link><pubDate>Tue, 30 Sep 2008 04:33:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32632</guid><dc:creator>ravig</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32632.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=32632</wfw:commentRss><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Keep your document library&amp;nbsp;path in secondary xml file, so that user can change the path to his document library path.&lt;/p&gt;
&lt;p&gt;you can call this path in your code&amp;nbsp;for submitting&lt;/p&gt;</description></item><item><title>How to submit the form to a document library with relative path instead of hard coded path?</title><link>https://www.infopathdev.com:443/forums/thread/32582.aspx</link><pubDate>Fri, 26 Sep 2008 22:59:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32582</guid><dc:creator>Connie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32582.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=32582</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We&amp;nbsp;need to publish a form as a content type so we can reuse the template in different&amp;nbsp;document libraries within the same MOSS site collection.&lt;/p&gt;
&lt;p&gt;We want to restrict the file name when user submit the form.&amp;nbsp; So, we create a&amp;nbsp;data connection to submit the form with the&amp;nbsp;custom file name.&amp;nbsp; However, we don&amp;#39;t want to hard code the document library path.&amp;nbsp;&amp;nbsp;For example, user A opens the form from&amp;nbsp;document library A in site A, the form will be saved in site A library A. User B opens the form (same content type)&amp;nbsp;from document library B in&amp;nbsp;team Site B, the form will be saved in site B library B. &lt;/p&gt;
&lt;p&gt;How do we get the relative path?&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>