<?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: Programmatically publishing to a content type within SharePoint?</title><link>https://www.infopathdev.com:443/forums/thread/59976.aspx</link><pubDate>Wed, 06 Oct 2010 06:41:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59976</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59976.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=59976</wfw:commentRss><description>&lt;p&gt;Have you looked at stsadm.exe or the SharePoint object model? &lt;/p&gt;
&lt;p&gt;Qdabra Software has a SharePoint / InfoPath accelerator (DBXL) that supports programmatically deploying content types and we can show you a demo of that if you are interested. &lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;</description></item><item><title>Programmatically publishing to a content type within SharePoint?</title><link>https://www.infopathdev.com:443/forums/thread/59520.aspx</link><pubDate>Fri, 01 Oct 2010 14:50:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59520</guid><dc:creator>cjordan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59520.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=59520</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am currently programmatically generating infopath forms with code-behind, and for each generated form, I need to be able to host the form template as&amp;nbsp;a content type. Since I have a farm solution, I know that I would usually have to publish manually to admin-approved form template as opposed to form libraries or content types directly and afterwards create content types which reference those form templates. I was wondering what&amp;nbsp;I would need to do&amp;nbsp;to achieve&amp;nbsp;the following results:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;1) Programmatically activate a form template to a site collection (this is the big question mark for me)&lt;/p&gt;
&lt;p&gt;2) Programmatically generate a content type which references said form template (I believe I already have this part down using the SP Object Model)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any assistance would be MUCH appreciated.&lt;/p&gt;</description></item></channel></rss>