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

  • Newbies

We have a field in a DB hosted on FM Server 11 that contains the URL to an Excel file in a folder on a remote server, and want to import the Excel file into the hosted database to create new records with field matching  - via a script.  We aren't sure of the best approach. Suggestions would be appreciated.

Thanks.

Note FileMaker is a bit tricky at times when it comes to choosing files to import from, yet this might be to your advantage.

1) First make the script to import the file using a static reference
---
Set variable $tmp = URL
import Records using some static reference to file; such as "http://server/file.xlsx"
---
2) Make the mapping of the cells to fieldnames
3) Run the script once to make sure you have the right piece of data in the right spot.
4) Edit the script step 2
---
Set variable $tmp = URL
import Records using $tmp
---
5) Run the script again to check that it works for a couple of references.

You should now be done.

This will work fine if the script is always executed by a user, if you want the server to do this you do want to add some error catching of some sort.

We have a field in a DB hosted on FM Server 11 that contains the URL to an Excel file in a folder on a remote server, and want to import the Excel file into the hosted database to create new records

 

The only type of file that you can import from using an HTTP request is XML.  All other types must exist on your network. Either download the file first, using an external process (e.g. Applescript or a plugin), or insert it into a container and export it to a local location before importing.

I use my suggestion a couple of thousand times pr day for XML files, XLSX files are a flavour of XML files should work fine; But never tried using XSLX.

XLSX files are a flavour of XML files

 

No, they are not. An .xlsx file is a ZIP archive containing an assortment of XML files in several folders. It cannot be imported into Filemaker using the Import Records > XML Data Source...  route.

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.