How to submit data to the form library once a button is clicked - InfoPath Dev
in

InfoPath Dev

How to submit data to the form library once a button is clicked

Last post 02-11-2013 07:09 AM by Kully. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 02-08-2013 07:30 AM

    • Kully
    • Not Ranked
      Female
    • Joined on 11-16-2012
    • Posts 24

    How to submit data to the form library once a button is clicked

    Hi,I was wondering is there any way in which I can set my InfoPath form to submit the data to different emails which I have defined and also save the records within the form library. It is only once you click on save within SharePoint that the records get saved however i was wondering is there any way that the button which I have put on my form will allow for the record to be saved directly to the form. Currently once the button is clicked it is doing the following thingsSets a field isEmailing = true - hides the parts of the form which should not be emailedSubmit Data - Email - send the form via email Set a fields value isEmailing = false - hides the email viewSend data to a web part - this is not doing anything at the momentClose the form Any advice on what I am doing wrong or how I could resolve this will be hugely welcomedThank you Kully

     

  • 02-08-2013 08:58 PM In reply to

    Re: How to submit data to the form library once a button is clicked

    Kully,

    Not to offend you, as I don't know your IP experience.  But have you added a data connection to the SharePoint library list?  You can set it to save in the library there.  You can also create a workflow in Sharepoint designer to send emails of the completed form or even set an alert in the library the document is uploading too.  Hope this helps. 

  • 02-09-2013 03:51 PM In reply to

    Re: How to submit data to the form library once a button is clicked

    Hi Kully,

    ElCapitan1987 is correct. Just add another rule+action to your button which submits to SharePoint. Probably you should do this before you send the email since if it fails the submit (for example, if they are offline), you will want to error out and not send email.

    Good luck!

    Patrick Halstead
    Project Manager at Qdabra
  • 02-11-2013 07:06 AM In reply to

    • Kully
    • Not Ranked
      Female
    • Joined on 11-16-2012
    • Posts 24

    Re: How to submit data to the form library once a button is clicked

    Hi ElCapitan1987,

    No offence taken my knowledge of InfoPath is limited to be honest however, I have added the data connecton to the sharepoint library.

    And I have put a send to webpart comand on the button, However this does not seem to work.

     Any other ideas would really be appreciated.

     Thank you

     

  • 02-11-2013 07:09 AM In reply to

    • Kully
    • Not Ranked
      Female
    • Joined on 11-16-2012
    • Posts 24

    Re: How to submit data to the form library once a button is clicked

    Hi Patrick,

    Thank you for your email.

    I have added the data connecton to the sharepoint library.

    And I have put a send to webpart comand on the button, However this does not seem to work.

    Any other ideas would really be appreciated.

    Thank you

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