I am attempting to schedule an import of an XML file with XSLT stylesheet via a scheduled import and it continually fails. I have a plugin that is delivering the XML data file to my documents folder located at:
/Macintosh HD/Library/Filemaker Server/Data/Documents/file.xml
I have confirmed through the Get (DocumentsPath) function that this is the correct location.
For simplicity, I have co-located the XSLT Stylesheet in the same folder.
In my script, I have a line that reads
Import Records [No dialog ; file.xml; stylesheet.xslt ; Update matching; Mac Roman ]
I have made a series of attempts to enter different locations for the file, including (and not limited to):
file:/Macintosh HD/Library/Filemaker Server/Data/Documents/file.xml (and same for the stylesheet)
filemac:/Macintosh HD/Library/Filemaker Server/Data/Documents/file.xml (and same for the stylesheet)
I've even tried inserting pre-constructed variables such as $XMLFile, which was constructed with Get (DocumentsPath) & "file.xml"
Not having any luck. Am I missing something here?
Thanks all for your help.