Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 2610 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello everyone..

Guess I have been away for a while. Not fully back though because I am not really engaged with computer tech stuff at the moment. However, I really stumbled across a problem earlier today while going through my email logs. I observed that a server script I had set up has not been attaching the Pdf file report as supposed to. It only delivers the message while leaving out the file attachment. I did test the script when I added it but what I did not test was the result when run by the server.

 

Allow user Abort [Off]
Commit Records/Requests [No dialog]
Set Variable [$FileName;Value:"Summary"&".pdf"]
Set Variable [$PDFPath;Value:Get(TemporaryPath) &".pdf"]
Go to Layout ["Summary_Layout]
Perform Script ["Print_Page_Setup"]
Save Records as PDF [Restore;No dialog;"$PDFPath";Current record]
Send Mail [Send via SMTP Server;No dialog]

 

As at the time of my writing the script, I was not observant about server-side scripts. I did go back just recently to observe that the "Save Records as PDF" script step is not server compatible.

Please, is there any work around on this? Much help is appreciated.

Posted

Is upgrading to FileMaker Server 16 an option? Because that version does support saving as PDF from the server.

Posted

Thanks for your reply Mike, however at the moment, upgrading to Server 16 won't be an option for me. We are still using Server 14, and it took some time to cough out that money on the budget.

This topic is 2610 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.