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/xls from https url

Featured Replies

Hi Everyone,

I'm relatively new to Filemaker (12 Advanced) and wondering if any of you can shed some light on this. I have an external data source (option of either xml or xls) that is retrievable through an https URL. From what I've read, earlier versions of Filemaker do not support import with https, is this still the case with 12? If so, is there any workarounds with this? Thanks!

  • 2 weeks later...
  • Author

Does anybody have any experience/thoughts on this? Thanks!

I don't know about v.12. A possible workaround is to use a plugin - for example, the (free) BaseElements.

  • 5 weeks later...

Does anybody have any experience/thoughts on this? Thanks!

Workaround I'm using:

1. Download the 360Works Scriptmaster plugin

2. Create a global variable and include it in an opening script to register it. Here's how mine looks:

'Set Variable'

Name : $$GetURLasText

Value :

RegisterGroovy( "GetURLasText( url )" ; "URL url = new URL(url);¶

InputStream input = url.openStream();¶

try {¶

    StringBuffer sb = new StringBuffer( input.available() );¶

    Reader r = new InputStreamReader( input, "utf-8" );¶

    char[] buff = new char[2048];¶

    int charsRead;¶

    while( (charsRead=r.read( buff )) != -1 ) {¶

        sb.append( buff, 0, charsRead );¶

    }¶

    return sb.toString();¶

} finally {¶

    input.close();¶

}" )

You will now have a function GetURLasText( url ) and can be found in the external functions.

3. Create a calculation field with the calculation of GetURLasText( yourhttpsurlhere ) from the external functions

4. Export that fields contents and save as an .xml file

5. Import the file using your style sheet

TBaker, your best best is any of the plugins or web publishing that can get this for you and then use standard import. There are too many variables that might prevent this from happening with just the Import script step. Sorry.

Beverly

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.