Multi action command button - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Multi action command button

Last post 02-14-2010 04:27 PM by nobbsy. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 02-07-2010 09:52 PM

    Multi action command button

    When a form is ready to submit, I would like to like to click one button and have the following be performed [needs to happen in this specific order]

    1. Run a “web service” already setup within the data connections section of the form. This web service gets the next Change Management reference number.     
    2. Now show a pop up box, which says “Change Management Number is XXXXXX”. Also have a button on that pop up box which says “Continue to submit Change Management Form”, “Yes  - Submit”, “No - Abort Submit” ( I might want to add an option to “Yes, submit and Print” or just ”Yes, submit without printing”. So next stop is to print form.
    3.  next is to submit to the Change Management Form to the SharePoint library http://portal/IS/Change%20Management%20Forms%20Library/Forms/AllItems.aspx this is already setup within the submit feature in SharePoint.
    4. Final step, submit to email addresses. This is already setup within the submit SharePoint feature. Currently when you submit to email, InfoPath pops up a box, which list the email addresses  the form is being sent to, plus the email body.
    5. Then close the form and InfoPath.

    Could you provide some code that would assist with this ?

  • 02-12-2010 12:51 AM In reply to

    Re: Multi action command button

    You don't need code for 1. 3. 4 and 5. Check out Clayton Cobb's SharePoint Madness blog for a technique. It isn't a best practice though since two people can submit at the same time. To prevent duplicates, you should submit the form twice. Submit it once without closing. Query to get the SharePoint list ID. Set it in your form and then Submit it again.

    Patrick Halstead
    Project Manager at Qdabra
  • 02-14-2010 04:27 PM In reply to

    Re: Multi action command button

    thanks. Are you able to point to specific areas within Clayton's blog.

    Aslso, As I would like to complete 1,2,3,4 and 5. Do you know of any code which might help me.

     

    Thanks again,.

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