Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Create PDF and attach to email
Mike
Posts: 1
 
Create PDF and attach to emailYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Aug 06 2:14 PM
fiogf49gjkf0d
I have a quote application in SLX 6.2.2 where I need to create a PDF of the quote and attach it to an e-mail when a button is clicked.

Does anyone have any suggestions and/or sample code to accomplish this?

Thanks,

Mike
[Reply][Quote]
Kevin Fullerton
Posts: 1
 
Re: Create PDF and attach to emailYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Aug 06 1:35 AM
fiogf49gjkf0d
Mike,

I'm working on something similar, and the solution we've come up with which may not be the prettiest but it works is to launch an Excel template for the quote, pre-fill the information from the Opportunity, save and then use CutePDF Writer to generate a PDF file all from one VBScript in SalesLogix
[Reply][Quote]
David Nunnally
Posts: 206
 
Re: Create PDF and attach to emailYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Aug 06 8:13 AM
fiogf49gjkf0d
We use DynamicPDF™ Generator v3.0 for COM/ActiveX. It is much faster than spawning a word or excel document and looks much better. You can use any COM. What I do is create the document and automatically save it as an attachment. The users click a button to create it. The get a msgbox that tells them it is complete and attached to the opportunity. They then click the attachment tab and rmc the document and email it. I have also have done it straight to the email and to the screen as well. I have also used easyPDF in SLX to do the same.
[Reply][Quote]
Kris Halsrud
Posts: 88
 
Re: Create PDF and attach to emailYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Aug 06 8:49 AM
fiogf49gjkf0d
You can also use the standard Crystal reporting engine in SLX accessed through code using the Crystal RDC to export the report to PDF format and then email the output.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Create PDF and attach to emailYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Aug 06 1:38 PM
fiogf49gjkf0d
As Kris mentioned, your best route is to use Crystal RDC. SalesLogix has a built in function to get an RDC object for a specified report. (IIRC it is Application.BasicFunctions.GetReportRDC). Once you have the RDC object it is quote simple to export the report to PDF and do whatever you want with it (including attach it to an email).

You can find the RDC developer docs on this site. See http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=29

-Ryan
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/26/2024 10:51:21 AM