Deploy custom InfoPath form using SharePoint list in VS2010

when I make a list in SharePoint 2010, I have the opportunity to edit the forms for this list using InfoPath (by enabling the function in the site collection and one on the site). When I save this form, it is saved as the default editing form for the list.

Now I am deploying my list from Visual Studio as a WSP file. I would like to provide an InfoPath form with this list so that when this function is activated, the list is created with the user form attached. I can't seem to find a way to add the InfoPath form to the list this way? I tried to create a module and add a form there, but the only thing I can do is add the form to the list, and not associate it with the list as an editing form.

I found this blog post explaining something similar, but I'm not sure how this relates to my situation.

Any pointers would be greatly appreciated!

+3
source share
1 answer

The following tutorial will help you:
http://www.stuartroberts.net/index.php/2010/11/30/deploying-infopath-form-sharepoint/

Important steps along the way:

  • Expand as a module
  • Use RegisterFormsin function manifest

And here is a link on how to attach your template to your list: http://spforsquirrels.blogspot.com/2008/03/assigning-infopath-form-template-to.html

, Infopath New/Edit , , .

+2

Source: https://habr.com/ru/post/1773621/


All Articles