Solved

Infopath Forms: Button to open save dialog box

Posted on 2013-01-22
2
990 Views
Last Modified: 2013-02-06
Hello, I'm trying to add two buttons to my InfoPath form that will be shortcuts to standard functionality in the file menu (most of my users are new to InfoPath, and putting a button on the form is easier than writing instructions).  I need two buttons:

Save a Local Copy: allows the user to save a local copy of the form to their desktop (standard save-as functionality)

Attach to Email: allows the user to use the 'Save & Send' feature to Send a snap shot via outlook.

I thought that this would be pretty straight forward, but I'm having a lot of trouble finding any code snippits that actually work in InfoPath's VB editor.  I'm using InfoPath 2010 to develop the form, but many of my users have InfoPath 2007 (I'm not sure if that matters).
0
Comment
Question by:JamesCbury
2 Comments
 
LVL 28

Accepted Solution

by:
clayfox earned 500 total points
ID: 38806230
I would try just using InfoPath designer.

Create 2 submit data connections with the wizard.

1 to save to a network share.
To do a true save as you cannot write a button, at least not easily.  Typically it is not best practice anyway.  For a form solution you will want to use standard file naming practices so that you control the files.  Use unique data from the form or time stamps but setup a designated path for all "saved" forms.

2 to submit to email.
You can choose to send the view or the form attached, but it is straightforward.
0
 

Author Closing Comment

by:JamesCbury
ID: 38861627
Thanks for the advice, sorry for the delay in getting back... My project got sidelined for the time being.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Before you can digitally sign infopath forms, you must have a digital certificate. Microsoft Certificate Services will need to be enabled on a Windows Server 2008 to facilitate the creation and verification of the digital certifciates on the web ser…
This article describes how to reset your Windows 10 password when you've forgotten it.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question