smac11shl

Save as PDF to Server location

Discussion created by smac11shl on Apr 22, 2014
Latest reply on Oct 3, 2014 by fabianf

Hi all -

 

I am still working with getting pdf's saved to my server directly from Filemaker and I am having some issues - here is the breakdown of what I have:

 

Where I host filemaker:

Filemaker 13 Server

Windows Server 2008 R2

 

Where I would like to save my PDFs

Windows Server 2012

 

What My user's look like

Mac Users w/ Filemaker Pro 13 Advance

Windows XP Users w/ Filemaker Pro 13

WIndows 7 Users w/ Filemaker Pro 13

 

What I am looking to do is as a user activates a script I want it to print a form and automaically save it as a PDF and put it in a folder on my Windows 2012 Server. What I have now is I set a variable $Filename as:

 

Let ([

MAC = "filemac:/ServerName/Sales/Invoices/INV/";

PC = "filewin:/ServerName/Sales/Invoices/INV/"

]; & Invoice Number & "_" & Company Name

)

 

I then perform a Save As PDF with the Output File as $FileName

 

When I run this script I get an error saying "Could not be created on this disk. Use a different name, make more room on the disk, unlock it or use a different disk."

 

My backup option would be to have the filename populate automatically and have the user select the location.

 

any help would be greatly appreciated! Thanks in advance!

Outcomes