Server vs client for export/documents folder
Filemaker help says you can only attach files that are in the folder Filemaker can export to. It even gives an example of Get(DocumentsFolder) to obtain the path. THE PROBLEM IS...
If you run this calculation using a client you get something like.
If you run an export script (using a client) the file is correctly saved in this location. If you then have the server run an SMTP email step including attaching the file, the email is sent but no file is attached.
If you use what the server says is the export folder it is like this.
filewin:/C/Program Files (x86)/Filemaker/Filemaker Server/Data/Documents/My File.pdf.
Trying to run a client to export to this location fails in spite of sharing permissions being set to allow it.
What is the correct folder to use? Do you use what the client reports the export folder is or the server?
I misread the permissions for what the server says the export folder is. Once the permission was fixed I can export PDF file using a client and then send email with that file attached using the server.