<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Unique ID for InfoPath form to SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/88272.aspx</link><pubDate>Thu, 21 Mar 2013 18:05:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88272</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88272.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=88272</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;If you use now() in a formula to create the form name, yes, that will happen. I usually add a field to the form for the form name, and add a form load rule to set it with the condition that the field is currently blank. Then now() will be when the form is first created, and stays stable.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Edited for clarity:&lt;/strong&gt; I mean, if you use now() in a formula in the data connection wizard. :)&lt;/p&gt;</description></item><item><title>Re: Unique ID for InfoPath form to SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/88271.aspx</link><pubDate>Thu, 21 Mar 2013 17:55:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88271</guid><dc:creator>AlexK</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88271.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=88271</wfw:commentRss><description>If you use the &amp;quot;now&amp;quot; route, won&amp;#39;t there be an issue when editing forms? For example, go back into the submitted form and change some fields, then click Submit again. Instead of overwriting the existing form like it should (an update), a new form will be created because &amp;quot;now&amp;quot; causes the form to have a new title. How to get around this?</description></item><item><title>Re: Unique ID for InfoPath form to SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/52743.aspx</link><pubDate>Mon, 15 Mar 2010 22:21:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52743</guid><dc:creator>rconverse</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52743.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=52743</wfw:commentRss><description>Wow.  Don&amp;#39;t I feel foolish. The now() function will work just fine.  I already had the date concactenated with the sales ID.  Not sure how I overlooked that function.  Thanks!</description></item><item><title>Re: Unique ID for InfoPath form to SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/52726.aspx</link><pubDate>Mon, 15 Mar 2010 18:25:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52726</guid><dc:creator>Ted Fitch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52726.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=52726</wfw:commentRss><description>&lt;p&gt;Hi Roger,&lt;/p&gt;
&lt;p&gt;If you use the now() function to get the current date/time you will get the time down to a 100th of a second.&amp;nbsp; If you concactenate the user ID along with now() as the unique ID you should be fine as the odds that someone saves the form with the same user name at the exact same 100th of a second is pretty small.&lt;/p&gt;
&lt;p&gt;SharePoint also does have a unique ID that gets created when you create a new document.&amp;nbsp; If you query the SharePoint GetListItems web method you can get that ID back and insert it into the form, this is a unique number but it only gets generated when you save the form the first time so you have to save the form once, query for the ID and then save that in the form and save again.&amp;nbsp; Agni has a good blogpost here: &lt;a href="http://www.infopathdev.com/blogs/agni/archive/2006/05/15/Query-for-Items-in-SharePoint-Form-Library-Using-GetListItems-Web-Method.aspx"&gt;http://www.infopathdev.com/blogs/agni/archive/2006/05/15/Query-for-Items-in-SharePoint-Form-Library-Using-GetListItems-Web-Method.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hope that helps&lt;/p&gt;
&lt;p&gt;Ted&lt;/p&gt;</description></item><item><title>Unique ID for InfoPath form to SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/52718.aspx</link><pubDate>Mon, 15 Mar 2010 16:49:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52718</guid><dc:creator>rconverse</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52718.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=52718</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m looking for a way to create a unique ID for each form submitted to a form library.&amp;nbsp; Is there a way to accomplish this without any new downloads?&lt;/p&gt;
&lt;p&gt;I use a combination of fields on the form and the date to create a name for the submitted form.&amp;nbsp; An issue arises when someone tries to submit two forms with similar data on the same day which happens a lot.&amp;nbsp; Currently we&amp;#39;re working around the issue by manually changing the name of the previous submission so the new submission doesn&amp;#39;t overwrite the previous submission.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Roger&lt;/p&gt;</description></item></channel></rss>