Hi Filemaker friends
I hope that someone in the community can help me.
I ran into a problem when printing or save as pdf from Filemaker WebDirect.
The file I can download contains no data.
I have a live stock list for costumers, I want to ad the option to generate a pdf from the list.
Script steps is like this:
Go to layout [ List A4 ]
Print setup [Restore ; with dialog; off]
Set Variable [ $path ; Value: "my_file.pdf" ]
Save Records as PDF [ Restore ; With dialog: on ; $path" ; Records being browsed ]
Go to layout [ WebDirect layout ]
Everything seem to be working, and I get the option til download the correct named file, the file is downloaded but contains no data, and Acrobat Pro says:
"Acrobat could not open 'my-file.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)."
Filemaker server 16 is running on Windows 2018 server
accessed from MacBook Pro OSX 10.13 using Filemaker Pro Advanced 16.
I tried it using different browsers and alså a Windows computer, same problem — empty corrupted file.