<?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: Switching view and saving to a document library</title><link>https://www.infopathdev.com:443/forums/thread/90659.aspx</link><pubDate>Thu, 13 Jun 2013 04:11:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90659</guid><dc:creator>Treasurydude</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90659.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90659</wfw:commentRss><description>&lt;p&gt;I have done something similar using additional fields, once you submit a document set a field value to indicate document is in Library; And in Form Load hide the submit button for that condition.. hope that solves your problem.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Switching view and saving to a document library</title><link>https://www.infopathdev.com:443/forums/thread/90656.aspx</link><pubDate>Thu, 13 Jun 2013 00:11:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90656</guid><dc:creator>tabykitten</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90656.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90656</wfw:commentRss><description>&lt;p&gt;Ah HA! I have found the solution (&lt;a href="http://social.msdn.microsoft.com/forums/en-US/sharepointcustomizationlegacy/thread/6a9443ab-8822-4ec9-b2a7-a4a918a04ffe"&gt;here it is for anyone else that has the same issue&lt;/a&gt; :))&lt;/p&gt;</description></item><item><title>Switching view and saving to a document library</title><link>https://www.infopathdev.com:443/forums/thread/90653.aspx</link><pubDate>Wed, 12 Jun 2013 23:48:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90653</guid><dc:creator>tabykitten</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90653.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90653</wfw:commentRss><description>Hi all,

&lt;p&gt;I&amp;#39;m hoping someone can help - I feel like I&amp;#39;m super close to a solution on this but it just eludes me... :) &lt;/p&gt;

&lt;p&gt;I&amp;#39;m using InfoPath and SharePoint 2010. I&amp;#39;ve developed a form and set up two data connections to go to two different places - one a list view and the other a document library. &lt;/p&gt;

&lt;p&gt;What I want to do is have the document library act as a library of &amp;#39;in context&amp;#39; forms (so it opens in the pretty InfoPath form template with the data populated) I want to remove the &amp;#39;Submit&amp;#39; button from the form when it&amp;#39;s in the document library (so it can&amp;#39;t be edited and resubmitted)&lt;/p&gt;

&lt;p&gt;I&amp;#39;ve tried creating a view and then configuring rules that I thought should work - so I have three rules that are like this:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Rule one (Submit data to list view) &lt;/li&gt;
&lt;li&gt;Rule two (Switch to view that DOESN&amp;#39;T have the submit button but does populate the fields)&lt;/li&gt;
&lt;li&gt;Rule three (Submit to document library)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I&amp;#39;d thought that rule two would mean that rule three would display the view without the submit button, but it&amp;#39;s still displaying the elements I&amp;#39;ve removed.&lt;/p&gt;

So grateful if anyone can help, or even suggest an alternate way I could solve this... :)</description></item></channel></rss>