August 27, 201015 yr Does FileMaker Pro require an XML data file to always end in ".xml" in an import? I have an XML file that was generated from another program. This program is an in-house company program. It's a real XML data file with all the proper XML formatting, but this file does not end in ".xml", it always ends in ".hfg". That's the only hang up. Platform is both Win and Mac, and there are thousands of files in our archive that we have in this format. We also create new ones. I don't want to use a Third Party plug-in, and changing the file names just isn't practical. Is there a way to get FileMaker to import these XML files that do not actually end in ".xml" in the filename even though they are really XML files? Without using AppleScript, a Third Party Plug-In and without changing the file name to end in ".xml"? (In other words all within FileMaker?) We can select each individual file to import with a script and an open dialog box, so I'm thinking possibly of a variable after the path has been established that tells the script that the path to the file ending in ".hfg" is really the path to ".xml" etc. after it has been selected...maybe? Any ideas? Thanks.
August 27, 201015 yr Insert the file into a container field, then export it to the temp directory and rename the file to end in xml. Process this exported file.
August 27, 201015 yr Author Vaughan, thank you for your quick reply. I'll definitely give this a whirl and see how it goes. Thanks again.
August 27, 201015 yr Does FileMaker Pro require an XML data file to always end in ".xml" in an import? No.
Create an account or sign in to comment