use vbscript to submit form to SharePoint list - InfoPath Dev Sign in | Join | Help in Newbie Questions InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Newbie Questions » use vbscript to submit form to SharePoint list use vbscript to submit form to SharePoint list Last post 10-03-2008 03:02 AM by Shiva. 1 replies. Page 1 of 1 (2 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 09-30-2008 06:47 AM herbessence Joined on 09-29-2008 Posts 2 use vbscript to submit form to SharePoint list Reply Contact Our company use InfoPath 2003 so I have to use vbscript to edit program for submitting InfoPath form to SharePoint list. Since our form is designed with views and navigation among views, so I cannot simply use CAML/Web Service/Repeating Table to submit form data to SharePoint list. I saw sample codes here using .NET code to dynamically build CAML file and submit data to SharePoint list through web service. I want to know if any vbscript guru can provide sample code doing the same thing. Thanks in advance! 10-03-2008 03:02 AM In reply to Shiva Joined on 04-15-2005 India Posts 694 Re: use vbscript to submit form to SharePoint list Mark as Not AnswerMark as Answer... Reply Contact Hello Welcome to the Forums, Here is the code for Submit to SharePoint, Dim sharePoint = XDocument.DataAdapters[submitAdapterName] sharePoint.FileName = "File Name" sharePoint.FolderURL = "SharePoint Libray Path" sharePoint.Submit() Shiva / http://www.ggktech.com Page 1 of 1 (2 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Our company use InfoPath 2003 so I have to use vbscript to edit program for submitting InfoPath form to SharePoint list.
Since our form is designed with views and navigation among views, so I cannot simply use CAML/Web Service/Repeating Table to submit form data to SharePoint list.
I saw sample codes here using .NET code to dynamically build CAML file and submit data to SharePoint list through web service. I want to know if any vbscript guru can provide sample code doing the same thing.
Thanks in advance!
Hello Welcome to the Forums,
Here is the code for Submit to SharePoint,
Dim sharePoint = XDocument.DataAdapters[submitAdapterName]
sharePoint.FileName = "File Name"
sharePoint.FolderURL = "SharePoint Libray Path"
sharePoint.Submit()