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.

Featured Replies

Hi guys.

i am epxorting as an xml file for each record from my fmpro db.

Problem being it will try to replace the previoulsy generated xml file with the latest generated xml file as the names are the same!!

is there a way i can name each individual xml file automatically...dont really want to do this manually as i have 1000+ records to export each record generating 1 xml file!!!

thanks.

An xml export is the same as any other export in this aspect. You need to use the script step Set Variable to specify the full path to each file (or a relative path if going to a subfolder of the FileMaker file's location on your local machine). Since you want a different file per record, this would be in a Loop, and you'd need a file name field in each record. You would reset the variable within the Loop.

The name of the script variable goes directly into the export path, typed, with local syntax, i.e., $variable name.

Assuming you have an "XML_Files" folder on your desktop, and a FileMaker field "File_name",

Set Variable [ $filepath; "filewin:" & Get (DesktopPath) & "XML_Files/" & File_name ]

Export Records [ no dialog; $filepath; etc. ]

If you need more help, do a search here about Exports and Variables. The FileMaker Help has info about this method, but you'll have to do a find on "variable" to find it. Also, every Export (and Import) shows clear examples of what the file path should look like.

After reading your other post, and this one. Are you doing a DDR, or trying to export the data, so that it can then be imported into your new file?

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.