E-mailing a report from Navision and embedding images

cjhcjh Member Posts: 4
edited 2004-02-10 in Navision Attain
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

Comments

  • simonbsimonb Member Posts: 7
    Why dont you print to a pdf file?
    Candidates need only apply.
  • mstallmannmstallmann Member Posts: 138
    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.

    Mike
  • mstallmannmstallmann Member Posts: 138
    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.

    Mike
  • Jeff_FierceJeff_Fierce Member Posts: 32
    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.
  • mstallmannmstallmann Member Posts: 138
    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.

    Mike
  • Timo_LässerTimo_Lässer Member Posts: 481
    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....[...]
    Try www.pdfmachine.com.
    Timo Lässer
    Microsoft Dynamics NAV Developer since 1997
    MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
  • VettriVettri Member Posts: 16
    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
    Vettri
  • mstallmannmstallmann Member Posts: 138
    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.

    Mike
  • VettriVettri Member Posts: 16
    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,
    Vettri
  • mstallmannmstallmann Member Posts: 138
    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,

    Mike
  • Timo_LässerTimo_Lässer Member Posts: 481
    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 printer :wink:
    Timo Lässer
    Microsoft Dynamics NAV Developer since 1997
    MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
  • Jeff_FierceJeff_Fierce Member Posts: 32
    A small Linux Box capturing the Windows prn file and converting to pdf would also do the job.
  • pmanpman Member Posts: 2
    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 :wink: (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.ch
    Carpe diem!
  • SavatageSavatage Member Posts: 7,142
    pdf has been discussed many times.

    Use the search feature to look up

    Create PDF File

    -Search for all terms

    For more info & ideas.....
Sign In or Register to comment.