Submit a info path form from the FormServer.aspx page - InfoPath Dev
in

InfoPath Dev

Submit a info path form from the FormServer.aspx page

Last post 06-12-2012 09:18 AM by lhernandez. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 06-12-2012 09:18 AM

    Submit a info path form from the FormServer.aspx page

    Hi,

    I need to submit a info path browser enabled info path form every 20 minutes automatically from the FormServer.aspx page to a Document Library in Sharepoint. I have created a function with a timer that does HostingForm.Submit() every 20 minutes where the HostingForm is

    <form runat="server" id="Form" method="post" enctype="multipart/form-data" style="width:100%;">
        <InfoPath:XmlFormView id="FormControl" Style="width:100%;" runat="server" __WebPartId="{63FF679F-B265-4C$%-9A09-EEA4E0F8262A}" EditingStatus="Editing"/>
      </form>

    The page refresh after the  HostingForm.Submit() executes but when I close the form and I open it again the changes are not saved. I have also tried including an action with the URL of the Sharepoint form library, but the form closes with out saving the changes.

     I have one default data source connection potinting to the document library.

    I am quite new on this so I am forgetting something for sure.

    Thanks.

    Best regards,

     Eriel

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