<?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: How to block duplicate submission?</title><link>https://www.infopathdev.com:443/forums/thread/104691.aspx</link><pubDate>Wed, 11 Nov 2015 22:09:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104691</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104691.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=104691</wfw:commentRss><description>I think that you have two possible issues here - action 1, you are setting the main data source Title to itself? That confuses me. :-) Then, in action 2, you are querying for ALL the items in Attendees - so if there are any forms in the library at all, you&amp;#39;ll get a false positive. Maybe set the Query &amp;quot;Title&amp;quot; field in the Attendees data connection to the Title in your current form before running the query, so you only get a row back if there is a match? Drag the query and data fields from your Attendees data source onto your form so you can see them. Add a button that queries the Attendees data source (this is just so you can try some stuff and see what works). Then you can experiment with setting the Title field and running the query to see what is returned.</description></item><item><title>Re: How to block duplicate submission?</title><link>https://www.infopathdev.com:443/forums/thread/104689.aspx</link><pubDate>Wed, 11 Nov 2015 21:33:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104689</guid><dc:creator>geeka507</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104689.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=104689</wfw:commentRss><description>&lt;p&gt;On my SharePoint site, I have two lists&lt;/p&gt;&lt;p&gt;Event&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Event Title&lt;/li&gt;&lt;li&gt;Event ID&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Attendee&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Title (created by combines their name with Event ID from Event Table)&lt;/li&gt;&lt;li&gt;Name (with InfoPath it&amp;#39;s automatically pulling using REST to get User Profile Info)&lt;/li&gt;&lt;li&gt;Event ID &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;I&amp;#39;ve tried on the Form Submit to set rules up to look back at the Title on Attendee Table and switch the view if it already exists.&amp;nbsp; If anything, in my attempts to figure this out on my own, I&amp;#39;ve probably confused myself more than anything. &lt;/p&gt;&lt;p&gt;The last attempt I had the Form Submit Rules&lt;/p&gt;&lt;p&gt;Rule 1 - Check for Duplicates&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Condition: None&lt;/li&gt;&lt;li&gt;Action 1 - Set &amp;nbsp;a field&amp;#39;s value &lt;/li&gt;&lt;ul&gt;&lt;li&gt;Field: (from Main Data Source) - Title&lt;/li&gt;&lt;li&gt;Value: (from Main Data Source) - Title&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Action 2 - Query for Data&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Data Connection - Attendees&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Action 3 - Set a field&amp;#39;s value&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Field: (from Main Data Source) -&amp;nbsp;Duplicate&lt;/li&gt;&lt;li&gt;Value: (From Attendees) - Insert Formula - count(Title from Attendees&amp;#39;s queryFields)&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;p&gt;Rule 2 - Switch View&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Condition: When Duplicate is not blank &lt;/li&gt;&lt;li&gt;Action&amp;nbsp;&amp;nbsp;- Switch View to Already Registered&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Rule 3 - Submit using Data Connection&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In this situation, I got the &amp;quot;Already Registered&amp;quot; view even though there is no&amp;nbsp;entry with that title in the Attendee List. &amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to block duplicate submission?</title><link>https://www.infopathdev.com:443/forums/thread/104686.aspx</link><pubDate>Wed, 11 Nov 2015 20:37:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104686</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104686.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=104686</wfw:commentRss><description>So - I&amp;#39;m not sure what you are querying? You would want to query the form library for something unique (I guess the field you are using for the title, to see if there is a match?) and then you should be able to count the returned rows and do something if there is a match - like switch views and not submit....</description></item><item><title>Re: How to block duplicate submission?</title><link>https://www.infopathdev.com:443/forums/thread/104682.aspx</link><pubDate>Wed, 11 Nov 2015 18:04:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104682</guid><dc:creator>geeka507</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104682.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=104682</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hilary - &lt;/p&gt;&lt;p&gt;I&amp;#39;ve been working on a registration page for multiple events that I&amp;#39;ve been trying to figure out how to block duplicates also. I can get the registrations to submit with a unique title, but being new to InfoPath and SharePoint - I&amp;#39;m getting stuck on the Submit Rule.&amp;nbsp;While I could just enforce the unique title, that gives an error to end users and I&amp;#39;d rather send them to a view that tells them they are already signed up for the event.&lt;/p&gt;&lt;p&gt;I know that I&amp;#39;m missing something on the Rules - &lt;/p&gt;&lt;ul&gt;&lt;li&gt;Rule&amp;nbsp;1&lt;/li&gt;&lt;li&gt;Condition - None&lt;/li&gt;&lt;li&gt;Run Actions -&amp;nbsp;Set Field Value - (I&amp;#39;m setting the value to be what I use to create the title upon submission -&amp;nbsp; concat(Name, &amp;quot;EventID&amp;quot;, EventID)&amp;nbsp;&lt;/li&gt;&lt;li&gt;Run Actions - Query for &amp;nbsp;Data (I select the location that the submissions go to)&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Once I get here, I&amp;#39;m not sure what is the next thing to do. I know that if I stop here, it doesn&amp;#39;t work and I can submit to the same event five times and end up with five same titles.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Is it easy to tell what I&amp;#39;m missing in this process? Any help would be appreciated.&lt;/p&gt;&lt;p&gt;Michelle&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to block duplicate submission?</title><link>https://www.infopathdev.com:443/forums/thread/103051.aspx</link><pubDate>Tue, 30 Jun 2015 16:23:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103051</guid><dc:creator>TomV65</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103051.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=103051</wfw:commentRss><description>Thanks. That&amp;#39;s what I am afraid that I have to do, conceptually.</description></item><item><title>Re: How to block duplicate submission?</title><link>https://www.infopathdev.com:443/forums/thread/103032.aspx</link><pubDate>Mon, 29 Jun 2015 21:13:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103032</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103032.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=103032</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I think you could do this by having a check as part of your submit rules.&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Make sure you have promoted all the fields that you&amp;nbsp;wish to check for to prevent duplicates&lt;/li&gt;&lt;li&gt;Add a data connection to the form library, receive, don&amp;#39;t run the query on load&lt;/li&gt;&lt;li&gt;In your submit rules, set query fields in the data connection created&amp;nbsp;in 2 to the values you wish to check for and run the query&lt;/li&gt;&lt;li&gt;If any rows are returned in the data connection, you can stop your rule execution and&amp;nbsp;perhaps set a field&amp;#39;s value with an&amp;nbsp;error message you can display to the user.&amp;nbsp;&lt;/li&gt;&lt;/ol&gt;</description></item><item><title>How to block duplicate submission?</title><link>https://www.infopathdev.com:443/forums/thread/103028.aspx</link><pubDate>Mon, 29 Jun 2015 20:38:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103028</guid><dc:creator>TomV65</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103028.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=103028</wfw:commentRss><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;Is there a way to&amp;nbsp;not to allow submission&amp;nbsp;if&amp;nbsp;a set of data already submitted to a SP (2013) doc lib based on some keys. Any steps-by steps would very appreciate all the helps.&lt;/p&gt;</description></item></channel></rss>