Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4645 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I am sending a calculated URL to a Web Viewer. The web service (MailChimp) I am sending to returns a JSON file. This displays fine on a Mac in the Web Viewer and I am able to parse the content out and back into FileMaker, completing the loop.

On Windows (XP, Vista, 7, 8 beta) I get a dialog box popup when the JSON file comes back that says "Do you want to Save this file or find a program online to open it?" Type: Unknown File Type.

The file I am working is a demo file for a lengthy (3-part) blog entry on integrating FileMaker Pro with MailChimp.

Download Demo File here

A Google search suggests that what is happening is that Internet Explorer (IE) doesn't have the appropriate MIME type for a JSON file. I found a response on another forum suggesting a way to get IE to accept JSON files, but changing the registry as recommended doesn't seem to work.

Any suggestions?

  • 5 months later...
Posted

I just tried this on Win 7 and it didnt work either

I think the CLSID value referred to in the reg file is not there, although it is on an XP machine I use

I added the values to a different CLSID which is for xml files and that accepted the reg file and worked straight away

Try this (usual caveat about fiddling with the registry obviously) then restart IE and FM and try it. Copy and paste into a Notepad file, save as something.reg


Windows Registry Editor Version 5.00



[HKEY_CLASSES_ROOTMimeDatabaseContent Typeapplication/json]

"CLSID"="{48123BC4-99D9-11D1-A6B3-00C04FD91555}"

"Encoding"=hex:08,00,00,00



[HKEY_CLASSES_ROOTMimeDatabaseContent Type	ext/json]

"CLSID"="{48123BC4-99D9-11D1-A6B3-00C04FD91555}"

"Encoding"=hex:08,00,00,00





I just did the same thing on XP with the posted version which seems to line it up with an HTML document





Windows Registry Editor Version 5.00

;

; Tell IE to open JSON documents in the browser.  

; 25336920-03F9-11cf-8FD0-00AA00686F13 is the CLSID for the "Browse in place" value in HTML document .

;  



[HKEY_CLASSES_ROOTMIMEDatabaseContent Typeapplication/json]

"CLSID"="{25336920-03F9-11cf-8FD0-00AA00686F13}"

"Encoding"=hex:08,00,00,00



[HKEY_CLASSES_ROOTMIMEDatabaseContent Type	ext/json]

"CLSID"="{25336920-03F9-11cf-8FD0-00AA00686F13}"

"Encoding"=hex:08,00,00,00



I am using the same trick to POST to Trello to make a bug reporting mechanism for a client

This topic is 4645 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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