SubmitToSharePointList only triggers when form is closed - InfoPath Dev
in

InfoPath Dev

SubmitToSharePointList only triggers when form is closed

Last post 04-20-2012 06:23 AM by Jo-Anne Alfafara. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 04-17-2012 08:39 PM

    • teylyn
    • Top 500 Contributor
    • Joined on 03-29-2012
    • Taranaki, New Zealand
    • Posts 49

    SubmitToSharePointList only triggers when form is closed

    Hello,

    My form submits data to the desired SharePoint list on another site in the same site collection. When I run it in preview from InfoPath, the data is submitted when I click the submit button.

    When I run the published and admin-approved form in the browser, the data will only be submitted after the form is closed.

    My submit button has one activity:

    Set a field's value: Comand = "SubmitToSharePointList /submit=SPSubmit /mapping=mappingPlannedOutage"

    I'm not showing the OOB ribbon buttons. There is another button to close the form without saving, using Close this form: No Prompt

    When this button is clicked, a message "Sending data to the server ..." briefly appears.

    Any ideas why the submit doesn't actually send the data, but closing the form does?

    cheers, Ingeborg

    teylyn - MS MVP (Excel) www.teylyn.com @ingeborgNZ
  • 04-17-2012 10:43 PM In reply to

    Re: SubmitToSharePointList only triggers when form is closed

    Hi, teylyn:

    You need to make sure that your submit button or any control that is using the qRules commands is set to always send data to the server. To do this, double-click on the control to show its properties, and go to Browser forms tab, then select Always.

    Let me know if that solves the issue.

    Thanks,

    Jo-Anne

    Jo-Anne Alfafara
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™
  • 04-18-2012 08:11 PM In reply to

    • teylyn
    • Top 500 Contributor
    • Joined on 03-29-2012
    • Taranaki, New Zealand
    • Posts 49

    Re: SubmitToSharePointList only triggers when form is closed

    Yes, it does. So simple. Thank you.

    cheers, Ingeborg

    teylyn - MS MVP (Excel) www.teylyn.com @ingeborgNZ
  • 04-20-2012 06:23 AM In reply to

    Re: SubmitToSharePointList only triggers when form is closed

    Hey teylyn, glad it work! =)

    Jo-Anne

    Jo-Anne Alfafara
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.