<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Unique form number/name generation?</title><link>https://www.infopathdev.com:443/forums/thread/33607.aspx</link><pubDate>Wed, 29 Oct 2008 00:36:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33607</guid><dc:creator>bladah29</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33607.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=33607</wfw:commentRss><description>&lt;p&gt;Here&amp;#39;s the method that I found works the easiest:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://bladah.com/?p=51"&gt;http://bladah.com/?p=51&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The solution&amp;nbsp;will allow you to generate a unique ID when the form is submitted to the library. It will also give you the capability to edit the form and re-submit without creating a new item every time it is re-submitted.&lt;/p&gt;</description></item><item><title>Re: Unique form number/name generation?</title><link>https://www.infopathdev.com:443/forums/thread/29069.aspx</link><pubDate>Fri, 30 May 2008 20:11:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29069</guid><dc:creator>altfeder</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29069.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=29069</wfw:commentRss><description>&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;Here&amp;#39;s an approach which avoids a specific problem. The problem: if you save your InfoPath form using a name generated from a concat of field values, then save the form, then go back and edit one of those field values, then save again, you will result in 2 files: the original (pre-edited) form and a new form with a file name reflecting the new field values. In other words, 2 forms. VERY BAD!!&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;Here&amp;#39;s the solution: simple and takes 5 minutes to implement: &lt;a href="http://davesmossblog.blogspot.com/2008/05/how-to-submit-infopath-forms-with.html"&gt;http://davesmossblog.blogspot.com/2008/05/how-to-submit-infopath-forms-with.html&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Unique form number/name generation?</title><link>https://www.infopathdev.com:443/forums/thread/25881.aspx</link><pubDate>Thu, 24 Jan 2008 05:33:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25881</guid><dc:creator>10basetom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25881.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25881</wfw:commentRss><description>Thanks for the input, Clay. This helped me resolve my problem. 8)&lt;br /&gt;&lt;br /&gt;

Tom</description></item><item><title>Re: Unique form number/name generation?</title><link>https://www.infopathdev.com:443/forums/thread/25875.aspx</link><pubDate>Thu, 24 Jan 2008 02:56:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25875</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25875.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25875</wfw:commentRss><description>&lt;p&gt;Instead of using now() each time.&amp;nbsp; Set in Open Rules if the form is new (a required field is blank or whatever) to populate a field with Now() which essentially is creationdate.&lt;/p&gt;
&lt;p&gt;Then use this new creationdate field in your file name and do not modify if the form is opened again.&amp;nbsp; That way your file name remains the same through out the life of the file.&lt;/p&gt;
&lt;p&gt;Another method would be to put a file name field in the form, use your rules to create the name if the field is blank, then use the field as the file name. That way it is created once and gets reused each time.&lt;/p&gt;</description></item><item><title>Re: Unique form number/name generation?</title><link>https://www.infopathdev.com:443/forums/thread/25872.aspx</link><pubDate>Thu, 24 Jan 2008 02:24:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25872</guid><dc:creator>10basetom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25872.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25872</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Ted Fitch:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;Hi Jeff,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can do this without code.&amp;nbsp; One way I have done this within InfoPath is to concenate a unique name by using:&lt;/p&gt;
&lt;p&gt;the user alias of the person submitting the form, data from one required field in the form, and then the now() function that returns the current date/time in ISO format.&amp;nbsp; This should give you a unuqie name that would be very hard to duplicate.&lt;/p&gt;
&lt;p&gt;Hope that helps&lt;/p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;

Hi Ted,

I tried this solution before, but it didn&amp;#39;t work for me because every time a user edits the form from within SharePoint, a new form filename gets generated, so when they resubmit the edited form, a new record is added to the SharePoint list.

I&amp;#39;m struggling with the same thing: how to generate a unique form filename ONCE only when the form is initially created. Now if there was some way to reference the form file&amp;#39;s Creation Date...

Tom</description></item><item><title>Re: Unique form number/name generation?</title><link>https://www.infopathdev.com:443/forums/thread/20974.aspx</link><pubDate>Wed, 20 Jun 2007 00:31:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20974</guid><dc:creator>Jeff.Wang</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20974.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=20974</wfw:commentRss><description>&lt;p&gt;Thanks a lot Ted, this definitely will be one of my options, but is there any way to have a predefinable string format setup? e.g. I need the form name like &amp;quot;JSA-001&amp;quot; or something based on a serial number, instead of a date/time based string?&lt;/p&gt;</description></item><item><title>Re: Unique form number/name generation?</title><link>https://www.infopathdev.com:443/forums/thread/20910.aspx</link><pubDate>Tue, 19 Jun 2007 06:56:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20910</guid><dc:creator>Ted Fitch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20910.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=20910</wfw:commentRss><description>&lt;p&gt;Hi Jeff,&amp;nbsp;&lt;/p&gt;&lt;p&gt;You can do this without code.&amp;nbsp; One way I have done this within InfoPath is to concenate a unique name by using:&lt;/p&gt;&lt;p&gt;the user alias of the person submitting the form, data from one required field in the form, and then the now() function that returns the current date/time in ISO format.&amp;nbsp; This should give you a unuqie name that would be very hard to duplicate.&lt;/p&gt;&lt;p&gt;Hope that helps&lt;/p&gt;</description></item><item><title>Unique form number/name generation?</title><link>https://www.infopathdev.com:443/forums/thread/20905.aspx</link><pubDate>Tue, 19 Jun 2007 06:03:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20905</guid><dc:creator>Jeff.Wang</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20905.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=20905</wfw:commentRss><description>&lt;p&gt;I am submitting InfoPath forms into MOSS2007, and this needs generating a unique form name (XXX.xml) each time, is there any solution we can avoid web service and database? Better to figure out within InfoPath or MOSS.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Jeff.&lt;/p&gt;</description></item></channel></rss>