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.

import XML-File via AppleScript OS-X to FM 7

Featured Replies

  • Newbies

Please help:

I create a FM-Script to import manually a xml-file with a stylesheet.

I like to create a hotfolder; somebody in my network save a xml-file in the hotfolder

and the script create FM-Records from the xml-file and delete after the creation the xml-file. The stylesheet is for all cases the same - the xml-files have different names without control.

(Sorry for bad english - best wishes from Frankfurt/germany)

This is really two questions. The first is how to import files from a folder; which is more or less the same routine for most types of files, .csv, .xls, .tab, and .xml (but not really .txt, if you want the text to stay in 1 block; it's easiest to just read text).

The routine is to rename each file to a known fixed name, Import with FileMaker, then rename/move it to another "done" folder. This would be the same for .xml files, with the difference that the FileMaker Import XML would also specify the fixed known .xsl file.

The attached example has the routine, using .csv files. I don't have one doing .xml files, but it would be much the same.

The 2nd question is how to actually Import XML, also specifying an xsl file. It seems you know how, as you don't say anything about the files themselves.

ImportwFM.zip

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.