use vbscript to submit form to SharePoint list - InfoPath Dev
in

InfoPath Dev

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: Previous Next
  • 09-30-2008 06:47 AM

    use vbscript to submit form to SharePoint list

    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
    • Top 25 Contributor
    • Joined on 04-15-2005
    • India
    • Posts 694

    Re: use vbscript to submit form to SharePoint list

    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()

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.