?
Solved

Upon Submit email different view

Posted on 2009-02-12
5
Medium Priority
?
702 Views
Last Modified: 2013-11-25
I want upon submit an email to be sent to the email address in the email field (easy enough) the problem is I want the email to contain a different view.   I have an input screen that based on selections fills out one of 35 views, I want when the end user hits submit the correct view to be emailed to the client not the information view.  When i place a submit button with a switch view it does not then email the view other then the input screen.
0
Comment
Question by:Andrew Bass
  • 3
  • 2
5 Comments
 
LVL 28

Accepted Solution

by:
clayfox earned 2000 total points
ID: 23624324
What happens is when the second person opens the form there is no logic but to open to the default view.
Here is the trick.

You need to modify your form so that it opens to the correct view.
Add a field in the form to track the view, currentview.
Add a rule action to the email button which set currentview to the viewname.
Then put an open rule which checks currentview and changes the view on open to the view selected.

This is what you want, the second user opens the form to the view which first user sent them
0
 
LVL 1

Author Comment

by:Andrew Bass
ID: 23625220
Hey Clay, so here is the issue with that.  The secondary view is a non editable print view which i relistically want to have it print as an image file and send to the client, I do not want the client to have a view of infopath at all.  
0
 
LVL 28

Assisted Solution

by:clayfox
clayfox earned 2000 total points
ID: 23625283
Are you using 2007?

Then you can email a view rather than attach the form.

Also a trick is that on the button you can add the actions to switch view, then submit to email, then close the form.  You can then make this transparent to the user.

If you want to print to email or something there are some third party apps or coding could fit this scenario.
0
 
LVL 1

Author Comment

by:Andrew Bass
ID: 23625425
The problem is I am making it in 2007 but it has to be compatable with 2003 which makes the biggest issue, I found a line of coding I can use but I need InfoPath SP and InfoPath Toolkit to do it, my worry is this will cause existing forms ive made to be in jeopardy or it will require the end users to have these add ins.
0
 
LVL 1

Author Closing Comment

by:Andrew Bass
ID: 31546154
Didnt help but answered the question none the less, thanks Clay
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

862 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