Add items to a SharePoint list using form code

  • Posted: Apr 01, 2010 at 10:42 AM
  • By: LaurHar
  • Avg Rating: 0

  • 41,539 Views

Download

Right click “Save as…”

Embed code for this video

Copy the code above to embed our video on your website/blog.

Close

Video format

Note: These selections will fall back to the next best format depending upon browser capability.

Close

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.

Tags:

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.