<?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 Display File Name Inside Form?</title><link>https://www.infopathdev.com:443/forums/thread/42922.aspx</link><pubDate>Mon, 15 Jun 2009 05:34:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42922</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42922.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=42922</wfw:commentRss><description>&lt;p&gt;I would not recommend doing it that way, and I don&amp;#39;t necessarily think it&amp;#39;s easier than what I stated.&amp;nbsp; Here are my reasons:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;You&amp;#39;re adding an unnecessary data connection (assuming that&amp;#39;s what you mean by #1)&amp;nbsp;that adds overhead to your template and increases wait time upon initial loading of the form&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;You have to do a double-submit when it&amp;#39;s first submitted in order to get that value into your form, because the title does not exist until it&amp;#39;s first submitted.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;This supposedly allows users to define their own filenames, which is not a good practice due to the possibility of poor naming conventions, using the same name as another file, and/or putting spaces in names.&amp;nbsp; It&amp;#39;s better to either auto-define&amp;nbsp;a unique&amp;nbsp;filename based off metadata in the form, or have the user type in a preferred filename within a field before submission so that you can dynamically create one using that info.&amp;nbsp; Either way, you&amp;#39;ll have your filename set within the form before the initial submit, and the submit data connection will reference this filename every time it is submitted (initial and subsequent).&amp;nbsp; Of course, this means you have your filename handy as a piece of data within the form itself so that you can use it wherever.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;</description></item><item><title>Re: How To Display File Name Inside Form?</title><link>https://www.infopathdev.com:443/forums/thread/42921.aspx</link><pubDate>Mon, 15 Jun 2009 04:13:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42921</guid><dc:creator>dolomite33</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42921.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=42921</wfw:commentRss><description>&lt;p&gt;Thank you both for your input.&lt;/p&gt;
&lt;p&gt;I found an easier/simpler way.&amp;nbsp; Since Form Libraries&amp;nbsp;store the &amp;quot;Title&amp;quot; by default for the form&amp;nbsp;... I did the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Created a &amp;quot;filename&amp;quot; data source&lt;/li&gt;
&lt;li&gt;Made the Default Value: substring-before(@Title, &amp;quot;.&amp;quot;)&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;That is it.&amp;nbsp; The substring removes the &amp;quot;.xml&amp;quot; from the title and you are left with the just the file name without the extension.&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;</description></item><item><title>Re: How To Display File Name Inside Form?</title><link>https://www.infopathdev.com:443/forums/thread/42740.aspx</link><pubDate>Wed, 10 Jun 2009 22:50:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42740</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42740.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=42740</wfw:commentRss><description>&lt;p&gt;Yes, i would recommend that you actually create a &lt;em&gt;filename&lt;/em&gt; field in the form, and you set this field&amp;#39;s value upon initial submit (add as a rule).&amp;nbsp; You would then reference this field in your submit data connection so that it never gets recalculated and so that subsequent edits always overwrite the proper file.&amp;nbsp; You can of course display this &lt;em&gt;filename&lt;/em&gt; field wherever you want in the form itself.&lt;/p&gt;</description></item><item><title>Re: How To Display File Name Inside Form?</title><link>https://www.infopathdev.com:443/forums/thread/42720.aspx</link><pubDate>Wed, 10 Jun 2009 19:12:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42720</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42720.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=42720</wfw:commentRss><description>&lt;p&gt;I&amp;#39;d add a field to the form data sourct to contain the file name. You can then use submit rules to populate that field with the same formula you use to generate the name, only populate the field if it is blank, and do that immediately before you submit....&lt;/p&gt;</description></item><item><title>How To Display File Name Inside Form?</title><link>https://www.infopathdev.com:443/forums/thread/42706.aspx</link><pubDate>Wed, 10 Jun 2009 15:36:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42706</guid><dc:creator>dolomite33</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42706.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=42706</wfw:commentRss><description>&lt;p&gt;I am dynamically creating an autonum file name for my InfoPath forms (&lt;a title="hghggh" href="http://www.bizsupportonline.net/browserforms/autonumber-infopath-form-submitted-sharepoint-library.htm" target="_blank"&gt;using this method&lt;/a&gt;).&amp;nbsp;... let&amp;#39;s say it is PO-00394&amp;nbsp;&lt;/p&gt;
&lt;p&gt;After the form is submitted (when the user hits &amp;quot;View 2&amp;quot;) I would like to display the file name (PO-00394)&amp;nbsp;on the form.&amp;nbsp; How can I achieve that without programming anything?&lt;/p&gt;
&lt;p&gt;Any help is much appreciated ... thanks!&lt;/p&gt;</description></item></channel></rss>