Jump to content
Sign in to follow this  

importing xml/xls from https url

Recommended Posts

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!

Share this post

Link to post
Share on other sites

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

Share this post

Link to post
Share on other sites

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 {¶


}" )

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

Share this post

Link to post
Share on other sites

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.


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Who Viewed the Topic

    1 member has viewed this topic:
  • Create New...

Important Information

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