Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Importing XML file from a file not ending in ".xml"?

Featured Replies

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.

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.

  • Author

Vaughan, thank you for your quick reply.

I'll definitely give this a whirl and see how it goes.

Thanks again.

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

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.