E-mailing a report from Navision and embedding images

cjh
Member Posts: 4
Hello,
I'm an Attain programmer in Spain looking to solve a problem. It is that if I send want to send a report, e.g. Sales Invoice, by e-mail (File/Send/Report by E-mail) to a customer then the Outlook integration works perfectly but (BUT) the graphics in my report are not embedded but are sent as separate attachments. So when the customer opens the .html report file he/she sees lots of unsightly broken links. I don't want to ask the customer to save all attachments to their hard drive before opening the report.
I thought of specifying the image bitmap path in the report as "http://net.aston.es/image1.bmp" this, but Navision won't let me do it.
Has anybody found a solution to this?
Thanks / Gracias
Chris
I'm an Attain programmer in Spain looking to solve a problem. It is that if I send want to send a report, e.g. Sales Invoice, by e-mail (File/Send/Report by E-mail) to a customer then the Outlook integration works perfectly but (BUT) the graphics in my report are not embedded but are sent as separate attachments. So when the customer opens the .html report file he/she sees lots of unsightly broken links. I don't want to ask the customer to save all attachments to their hard drive before opening the report.
I thought of specifying the image bitmap path in the report as "http://net.aston.es/image1.bmp" this, but Navision won't let me do it.
Has anybody found a solution to this?
Thanks / Gracias
Chris
0
Comments
-
Why dont you print to a pdf file?Candidates need only apply.0
-
Create a seperate report that you are going to use for emailing. Instead of using a Navision Image object, use a label. Make the text of the label <IMG SRC="http://net.aston.es/image1.bmp">. When exported to html, the label will work as it would in normal html.
Mike0 -
Also, convert your bmp file to a gif or jpg, as some browsers do not support gifs...also, your image size will be much smaller, and will put a lesser load on your network.
Mike0 -
And make sure that Outlook is well configured. I've seen it storing text and images in diffrent locations, preventing proper screen output.
Me would prefer pdf output, html in Outlook is still too unsafe.0 -
I prefer pdf as well, can't get html to look right...but I can't find a way to automate pdf creation. If you know of a way to do so, I would love to hear it....I have been trying to find a way for a while...
FYI - If you make explicit image references using the image tag like I explained above, the image is pulled from the server everytime...thus outlook does not affect the image creation.
Mike0 -
mstallmann wrote:[...]...but I can't find a way to automate pdf creation. If you know of a way to do so, I would love to hear it....[...]Timo Lässer
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]0 -
Hi mstallmann,
u can also try to create a PDF through C/AL
u can find the method in the download section itself
http://www.mibuso.com/dlinfo.asp?FileID=122
Regards
Vettri0 -
Yes, but this only allows me to create a pdf with text. I don't see how it would allow me to make a report into pdf.
Mike0 -
Dear Mike,
We have done it for the Account Schedule report to spool the report in PDF format.We have written the code to generate PDF in the presection and it is working fine.we have done it for the testing purpose.
Regards,
Vettri0 -
Vettri, In the documentation for that download, it only shows the method for converting text to pdf. Can you show me the code for a complete report?
Thanks,
Mike0 -
If you use pdfMachine (:arrow: www.pdfmachine.com), you will be able to print every report with the original layout in a pdf file.
You can decide, wether to Save as PDF or to e-mail the file after saving.
You have many settings for the document in the printer driver (e. g. Doc. Info Fields, Encryption, Watermark, Stationery, ...)
Just print on this virtual printerTimo Lässer
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]0 -
A small Linux Box capturing the Windows prn file and converting to pdf would also do the job.0
-
PDF MAIL/ARCHIV
There are many solutions and tools to print a report to a pdf File. Still these solutions need manual interaction.
We developed an international offical Addon called "PDF Mail/Archiv" Granula 3001010 which can print and archive the standard Navision Reports as an PDF Attachment directly into a Mail. The Body is filled with a predefined standard Text. The PDF has the company Logo. Depending on the Setup, the mail is sent without any interaction or the User clicks send after reviewing the mail.
The archive function creates automatically and without any interaction a PDF of business critical documents like an invoice. That is, if you print an invoice the first time to your normal printer, the Addon automatically creates a PDF with or without the company Logo into a predefined Archive folder.
A little movies shows how it works with sound in SwissGerman(you need TSCC Decoder from TechSmith)
http://www.daneco.ch/Downloads/pdfmail/ ... fferte.avi
The granule cost only 1125 Euro.
It needs C/Side Version 3.x..
Contact me for any further information
d.pechmann@daneco.chCarpe diem!0 -
pdf has been discussed many times.
Use the search feature to look up
Create PDF File
-Search for all terms
For more info & ideas.....0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions