<?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: Use Save button for submit for content type</title><link>https://www.infopathdev.com:443/forums/thread/54068.aspx</link><pubDate>Fri, 23 Apr 2010 06:13:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54068</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54068.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=54068</wfw:commentRss><description>&lt;p&gt;well you will have to write some custom code for this&lt;/p&gt;</description></item><item><title>Re: Use Save button for submit for content type</title><link>https://www.infopathdev.com:443/forums/thread/54054.aspx</link><pubDate>Thu, 22 Apr 2010 19:29:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54054</guid><dc:creator>jeroentrommel</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54054.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=54054</wfw:commentRss><description>&lt;p&gt;Thanks for the answer, but the reason we don&amp;#39;t use the standard save button is because I want to generate&amp;nbsp; the filename... and this cannot be done using the default save button.&lt;/p&gt;&lt;p&gt;The reason this filename needs to be generated is because when the form hits a specific status, the form will be moved to another sharepoint library that stores all these InfoPath forms (I&amp;#39;m more familiar with SharePoint then with InfoPath forms). So as long as it doesn&amp;#39;t have this status yet it should remain in the Project site library ofcourse.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;And with the default Save option the user can choose his own file name. And when this filename already exists, the file will be overwritten...&lt;/p&gt;&lt;p&gt;Or when I move it and the filename already exists in the storage library, that file will be overwritten...&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;And that&amp;#39;s not what I want of course.&lt;/p&gt;&lt;p&gt;But I&amp;#39;m afraid I have to create custom code for this solution and that it can&amp;#39;t be done using the default InfoPath options... &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Use Save button for submit for content type</title><link>https://www.infopathdev.com:443/forums/thread/54039.aspx</link><pubDate>Thu, 22 Apr 2010 15:53:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54039</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54039.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=54039</wfw:commentRss><description>&lt;p&gt;If you&amp;#39;re using Submit (and not Save), then &lt;a href="http://www.qdabra.com/en/products/qRules.aspx"&gt;qRules&lt;/a&gt; might help you to dynamically change the library. One command is documented &lt;a href="http://www.infopathdev.com/files/folders/qrules/entry52999.aspx"&gt;here&lt;/a&gt;, but we&amp;#39;ll have another doc up later today with further details on the scenario.&lt;/p&gt;&lt;p&gt;Of course, the other option is to write some code. Lots can be done with custom code. :)&lt;/p&gt;&lt;p&gt;The problem with both qRules and code is that you&amp;#39;ll need to admin deploy, and you cannot do that. I&amp;#39;m sorry; not sure what else to recommend. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Use Save button for submit for content type</title><link>https://www.infopathdev.com:443/forums/thread/54025.aspx</link><pubDate>Thu, 22 Apr 2010 13:43:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54025</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54025.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=54025</wfw:commentRss><description>&lt;p&gt;why dont you just use the save functionality that is provided by infopath. that will just save the form in the same document library that the form was opened from.&lt;/p&gt;</description></item><item><title>Use Save button for submit for content type</title><link>https://www.infopathdev.com:443/forums/thread/54014.aspx</link><pubDate>Thu, 22 Apr 2010 10:28:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54014</guid><dc:creator>jeroentrommel</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54014.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=54014</wfw:commentRss><description>&lt;p&gt;Hello, &lt;/p&gt;
&lt;p&gt;I&amp;#39;m new to&amp;nbsp;InfoPath, but i&amp;#39;m not sure whether this is a newbie question or a SharePoint question.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll explain the situation:&lt;br /&gt;I have a browser-enabled InfoPath form, just plain and simple.&lt;br /&gt;This form needs to be published as a content type on a specific site collection, we&amp;#39;ll name it FormSiteCollection.&lt;/p&gt;
&lt;p&gt;There is another site collection that has subsites that need to use this content type, we&amp;#39;ll name this ProjectSiteCollection.&lt;br /&gt;These subsites are based on a site definition and are created for each project, pretty normal situation.&lt;/p&gt;
&lt;p&gt;To use the content type in the ProjectSiteCollection, I need to re-create this content type and point to the XSN on the FormSiteCollection.&lt;br /&gt;Still nothing special.&lt;/p&gt;
&lt;p&gt;But I have a button in my Form with the name &amp;quot;Save&amp;quot;.&lt;br /&gt;When this button is pressed, there are 2 rules fired. One to submit the data using a data connection, the other is a standard one to close the form.&lt;/p&gt;
&lt;p&gt;The data connection I created using &amp;quot;Tools&amp;quot; -&amp;gt; Data Connections.&lt;br /&gt;Settings:&lt;br /&gt;Document Library: &lt;a href="http://testurl/FormLib"&gt;http://testURL/FormLib&lt;/a&gt;&lt;br /&gt;Filename: concat(&amp;quot;Project&amp;quot;; Projectcode, ID)&lt;/p&gt;
&lt;p&gt;Still nothing special I guess.&lt;/p&gt;
&lt;p&gt;Now my question: When&amp;nbsp;I use this content type on my project sites... I want to create a new form, fill it... and then save it in the specific document library of that projectsite with the filename I created for the data connection. But my guess would be that this Save action will save the document in the Document Library I have set in the data connection.... not in the Document Library i&amp;#39;m currently in...&lt;/p&gt;
&lt;p&gt;Is this true? Or will it save in the Document Library I&amp;#39;m currently in?&lt;br /&gt;If it saves to one specific document library..... Is there a possibility to make this Document Library dynamic, or retrieve the one o&amp;#39;m currently in,&amp;nbsp;without using code for my form?&lt;br /&gt;The option &amp;quot;without code&amp;quot; is so I won&amp;#39;t need administrator approval for this form. Since there is no code based on this form. Just workflows based on SharePoint Designer, Visual Studio 2008 and SharePoint 2007 itself.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;m sure more people have come to this problem so I hope you can help.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Jeroen.&lt;/p&gt;</description></item></channel></rss>