AnsweredAssumed Answered

XML Import in Server-Scheduled Script Fails with Error 100

Question asked by SethRedlus on Oct 28, 2015
Latest reply on Oct 28, 2015 by SethRedlus

Hello All-


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)


file:/Library/Filemaker Server/Data/Documents/file.xml

filemac:/Macintosh HD/Library/Filemaker Server/Data/Documents/file.xml (and same for the stylesheet)

filemac:/Library/Filemaker Server/Data/Documents/file.xml

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.