I had some content types and some XSN infopath files... I can link it by web interface and this works well but I must do this connection during feature activated event...
So... Is there any code to assign some XSN to a CT?
Thank you very much!
You can publish your Infopath form to your site using SharePoint WSP , it will create a contentType for you.For details , you can have look at here.http://ybbest.wordpress.com/2011/04/05/deploy-infopath-form-as-sharepoint-feature-in-sharepoint2010/