AnsweredAssumed Answered

How To E-Mail and Save PDF Report

Question asked by Scorpion167 on Sep 1, 2017
Latest reply on Sep 1, 2017 by philmodjunk

Hello to all,

 

I have a print report script that I'd like to expand on a bit. I want to add an option to "E-mail" and "Save" a copy of the report as PDF.

 

The current Script looks like this,

 

Print Report:

Set Variable [ $Path ; Value: Get ( TemporraryPath ) & "Inventory 2 Report.pdf"]

Save Records as PDF [Restore ; No dialog ; "$Path" ; Automatically open ; Records being browsed ]

Show Custom Dialog [ "Print Report2" ; "Return to Print Layout" ]

 

I found and added an example script step for "e-mail", which seem to work ok.

Send Mail [ Send via E-Mail Client ; with dialog; On ; To: RemoteMgt:: email address ; Subject: "message" ; Message: "text" ; "$Path" ]

 

The assistance I need is selecting the correct script step/s to save a copy of the PDF file to a related table container field.

 

Thanks

Outcomes