Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Open Outlook from InfoPath and attach PDF

Posted on 2011-03-11
1
Medium Priority
?
635 Views
Last Modified: 2012-05-11
Experts,

I have an Infopath from that is published to a Sharepoint site. The form is filled out by the employee and after completing it they click a button that exports it to a PDF. The PDF is saved to another document library on sharepoint and all done using VB Script.

The forms (PDF format) are then accessed by another employee which then attaches it an email template and sends it off to our customers.

I am trying to eliminate this step. At the moment the employee converts the InfoPath form to a PDF, I would like to:
  1) Create a button that opens an Outlook Template stored in Sharepoint
  2) Attaches the newly created PDF

Currently I have a field in the Infopath form that uses the concat function to create the file name, extension, and path for the PDF. Simply put, I need to take the value from that fields to locate the PDF to attach all using VB. Any help would be much appreciated. Thank you
0
Comment
Question by:spaced45
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 28

Accepted Solution

by:
clayfox earned 2000 total points
ID: 35116034
First, you can create a submit data connection to email.

This can be accessed to create the message.

Then you can create a field which can store the PDF.  With code you can automate the attached file control to embed the PDF within the form. Using the path to the SP Library and the file name to get the exact file you want.

Then it is just a matter of the logic and process.

I assume these are client based forms, but with the standard email functionality, you can set the subject and intro or I have create a specific view before which becomes the body. Since you want to attach the PDF rather than the XML this is probably a better way to go.  Also the user will have to approve the send, which Outlook requires because of Spam.  Otherwise you would need code and SMTP to get around this.

Good Luck
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

721 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