<?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: Deploying Browser forms to Subsite with dynamic submitting</title><link>https://www.infopathdev.com:443/forums/thread/46537.aspx</link><pubDate>Thu, 03 Sep 2009 06:49:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46537</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46537.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=46537</wfw:commentRss><description>&lt;p&gt;Cool link. Thanks!&lt;/p&gt;</description></item><item><title>Re: Deploying Browser forms to Subsite with dynamic submitting</title><link>https://www.infopathdev.com:443/forums/thread/46535.aspx</link><pubDate>Thu, 03 Sep 2009 05:38:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46535</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46535.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=46535</wfw:commentRss><description>&lt;p&gt;it seems you need this link &lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharenotes.wordpress.com/2008/03/18/using-stsadm-to-deploy-upgrade-update-infopath-forms-templates-with-managed-code-behind/"&gt;http://sharenotes.wordpress.com/2008/03/18/using-stsadm-to-deploy-upgrade-update-infopath-forms-templates-with-managed-code-behind/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;to publish code enabled forms to sharepoint&lt;/p&gt;</description></item><item><title>Re: Deploying Browser forms to Subsite with dynamic submitting</title><link>https://www.infopathdev.com:443/forums/thread/46519.aspx</link><pubDate>Wed, 02 Sep 2009 18:00:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46519</guid><dc:creator>rybocf</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46519.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=46519</wfw:commentRss><description>&lt;p&gt;Thanks.&amp;nbsp; I am now trying to figure out how to deploy browser-enabled forms with their associated assembly (code-enabled) to SharePoint as a feature.&amp;nbsp; From the error messages it looks like I have to package the assembly with the feature so it can find it in the feature folder.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks!&lt;/p&gt;
&lt;p&gt;-Ryan&lt;/p&gt;</description></item><item><title>Re: Deploying Browser forms to Subsite with dynamic submitting</title><link>https://www.infopathdev.com:443/forums/thread/46509.aspx</link><pubDate>Wed, 02 Sep 2009 14:03:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46509</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46509.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=46509</wfw:commentRss><description>&lt;p&gt;you can use below code to submit dynamically&lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#008080" size="2"&gt;&lt;font color="#008080" size="2"&gt;&lt;font color="#008080" size="2"&gt;&lt;font color="#008080" size="2"&gt;XPathNavigator&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000" size="2"&gt; xn = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font color="#000000"&gt;.MainDataSource.CreateNavigator();&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#008080" size="2"&gt;&lt;font color="#008080" size="2"&gt;XPathNavigator&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; xnSaveLocation = xn.SelectSingleNode(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;/my:myFields/my:MySubmitLocation&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.NamespaceManager);&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008080" size="2"&gt;&lt;font color="#008080" size="2"&gt;FileSubmitConnection&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; fc = (&lt;/font&gt;&lt;font color="#008080" size="2"&gt;&lt;font color="#008080" size="2"&gt;FileSubmitConnection&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.DataConnections[&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;Main submit&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;]; &lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;//replace with with the name of your data connection &lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;fc.FolderUrl = xnSaveLocation.Value.ToString();&lt;/p&gt;
&lt;p&gt;fc.Execute();&lt;/p&gt;
&lt;p&gt;e.CancelableArgs.Cancel = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;false&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Deploying Browser forms to Subsite with dynamic submitting</title><link>https://www.infopathdev.com:443/forums/thread/46506.aspx</link><pubDate>Wed, 02 Sep 2009 13:32:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46506</guid><dc:creator>rybocf</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46506.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=46506</wfw:commentRss><description>&lt;p&gt;The problem with that is I need individual UDCX files tell the forms from each site where to save.&amp;nbsp; A single UDXC won&amp;#39;t work because (unless I&amp;#39;m wrong) it can only submit to a single location.&amp;nbsp; The only thing I found that may work (digging last night) is using code in the forms to change the submit location dynamically.&amp;nbsp; I was under the impression that browser forms could not use code, but I have seen a couple blog posts that say you can.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;
&lt;p&gt;-Ryan&lt;/p&gt;</description></item><item><title>Re: Deploying Browser forms to Subsite with dynamic submitting</title><link>https://www.infopathdev.com:443/forums/thread/46494.aspx</link><pubDate>Wed, 02 Sep 2009 07:58:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46494</guid><dc:creator>R&amp;#233;mi MATAYRON</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46494.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=46494</wfw:commentRss><description>&lt;p&gt;The UDCX must be at the root of the site collection and your formp library can be in a subsite.&lt;/p&gt;
&lt;p&gt;You just have to put the right URL in the UDCX and don&amp;#39;t forget to put the UDCX at the root.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Rémi&lt;/p&gt;</description></item><item><title>Deploying Browser forms to Subsite with dynamic submitting</title><link>https://www.infopathdev.com:443/forums/thread/46486.aspx</link><pubDate>Tue, 01 Sep 2009 20:35:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46486</guid><dc:creator>rybocf</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46486.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=46486</wfw:commentRss><description>&lt;p&gt;Hi everyone,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to build a series of InfoPath 2007 forms (Forms Services) for SharePoint.&amp;nbsp; The problem is that although these can be deployed centrally to the site collection, there is a problem with saving the forms.&amp;nbsp; What we are doing is building a custom site definition that will create N number of subsites.&amp;nbsp; These subsites are using form/document libraries with content types that are based off the deployed forms.&amp;nbsp; Oddly enough this all works great, except:&lt;/p&gt;
&lt;p&gt;We want the forms to save locally in the local subsite library from which the content type is used.&amp;nbsp; I have traditionally used a submit button tied to a data connection (UDCX or hardcoded, doesn&amp;#39;t matter) to tell the form where to save itself.&amp;nbsp; Obviously this is a problem because the location in which the form was instantiated determines where it should be saved.&amp;nbsp; So, I decided to used a custom data connection in the local sharepoint subistes that each form should be able to look at relative to it&amp;#39;s own location and that UDCX could be customized when the subsite was created.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;This seems to work too, except I didn&amp;#39;t realize that forms server creates its instance of the form from the central library in which it is stored.&amp;nbsp; This means that it can&amp;#39;t look and find the UDCX file local to it&amp;#39;s subsite.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;So I took a different path and tried to deploy the forms as part of a feature with the local subsite site definition and then would build the content types locally.&amp;nbsp; It turns out I can&amp;#39;t get the forms to be browser enabled without deploying it the way SharePoint wants (using the Microsoft.Office.InfoPath.Server.Administration.XsnFeatureReceiver class) referenced in this article:&amp;nbsp; &lt;a href="http://blah.winsmarts.com/2008-8-Deploying_InfoPath_2007_Forms_to_Forms_Server_-and-ndash_Properly.aspx"&gt;http://blah.winsmarts.com/2008-8-Deploying_InfoPath_2007_Forms_to_Forms_Server_-and-ndash_Properly.aspx&lt;/a&gt;&amp;nbsp; So although I can deploy them to subsites like this, they won&amp;#39;t load in a browser unless they are activaetd via that FeatureReceiver.&amp;nbsp; Oh yeah, and that class won&amp;#39;t let you deploy to an SPWeb object, only SPSite.&amp;nbsp; So I was back to square one.&lt;/p&gt;
&lt;p&gt;I hope all this made sense, but now I&amp;#39;m trying to find a way to re-use forms across many sub-sites and tell those forms to save in the location from which they were originated (library).&amp;nbsp; I&amp;#39;m more an expert at SharePoint than I am at InfoPath, so I&amp;#39;m hoping that there is some coding enabled in browser forms or ways to dynamically tell forms server how to save/submit to a data connection.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you for any help you can provide!&lt;/p&gt;
&lt;p&gt;-Ryan Thomas&lt;/p&gt;</description></item></channel></rss>