Multi action command button - InfoPath Dev Sign in | Join | Help in Code InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Code » Multi action command button 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: Oldest to newest Newest to oldest Previous Next 02-07-2010 09:52 PM nobbsy Joined on 10-15-2008 Posts 25 Multi action command button Reply Contact 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] Run a “web service” already setup within the data connections section of the form. This web service gets the next Change Management reference number. 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. 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. 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. Then close the form and InfoPath. Could you provide some code that would assist with this ? Filed under: 2007, Code, processing instructions, vba, email, submit, programming, Infopath 2007 Form control 02-12-2010 12:51 AM In reply to Patrick Halstead Joined on 08-08-2006 Posts 5,110 Re: Multi action command button Mark as Not AnswerMark as Answer... Reply Contact 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 HalsteadProject Manager at Qdabra 02-14-2010 04:27 PM In reply to nobbsy Joined on 10-15-2008 Posts 25 Re: Multi action command button Mark as Not AnswerMark as Answer... Reply Contact 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.
Use our Google Custom Search for best site search results.
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]
Could you provide some code that would assist with this ?
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.
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,.