Submit and Close Button Does Not Show Up for InfoPath Client if Submit Option is Configured

Applies To

Symptoms

You want to show InfoPath 2007 in client (not browser), and you configure the Submit Option (like how you do it for browser based) for the form template. Then associate the InfoPath form to a process template using Envision. The 'Submit and Close' button for InfoPath Integration is not displayed in InfoPath client.

Cause

The InfoPath form template is corrupted for AgilePoint Integration.

Resolution

  1. In InfoPath Design Mode, go to Tools > Forms Options > Programming. Under Programming Language, click on Remove Code to remove JScript. If you have any custom JScript, please back up your JScript first. (Note: The purpose of removing the code is just to trigger the correction process. When you associate the form template to Envision later, Envision will add back the JScript and then perform the correction for 'Submit and Close').
  2. Then, go to Tools > Forms Options > Submit Options. Uncheck the check box for 'Allow users to submit this form'. Envision will add this for you when you associate the form template later. (Note: For browser based InfoPath form, you need to configure the Submit Options, but for client based InfoPath form, leave this Submit Option unchecked).
  3. Save and close the InfoPath form template.
  4. Launch Envision, click File > New > Microsoft InfoPath, then select the InfoPath form template you have modified just now. This step is just to allow Envision to correct the corruption related to AgilePoint. You do not need to re-draw your process template (if any). Close Envision. You do not need to save the Envision process template.
  5. Launch InfoPath form template in Design Mode. Go to File > Preview > Form. Make sure you see the 'Submit and Close' button in preview mode. Then you may re-associate the corrected form template to your existing process template (if any).