Add items to a SharePoint list using form code
- Posted: Apr 01, 2010 at 10:42AM
- 43,185 views
Right click “Save as…”
In this video demo, Phil Newman, a program manager on the InfoPath team shows how you can write managed code in an InfoPath form to add items to a SharePoint list, and then publish this form as a sandboxed solution to SharePoint.
In InfoPath 2010, forms with code can now be published directly to SharePoint without requiring the farm administrator to approve and upload them! These forms run in a sandboxed environment which protects other resources on the SharePoint server from malicious code.
For more information and the sample code that was used in this demo, go to the InfoPath Team Blog.