Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open local files with Chrome
  2. Open local files with Firefox
  3. Open local files with Internet Explorer

1. Open files with Chrome 

By default (and for security !), Chrome forbids the opening of urls pointing towards local files, from a web browser. There is a workaround using the open Local file extension :

...

NB : for now this extension works only if we deactivate the URL redirect in Datafari in SubClassResultWidget.js, ie edit the file :
//var urlRedirect = 'URL?url='+ url + '&id='+Manager.store.get("id").value + '&q=' + Manager.store.get("q").value + '&position='+position;
var urlRedirect = url ;
Indeed, the extension code needs to be modified because there is a regex that verifies if the url starts with file://. And the url in Datafari does not begin by file:// but by the Datafari IP server because we use a redirection.

2. Open files with Firefox

Again, by default and for security, Firefox forbids the opening of URLs pointing at local files, from a web browser. Here is a work around:

...

NB : it seems that for new versions of Firefox, the number of slashes in the URL has to be changed from 5 to 2. There is a Jira issue on it : https://datafari.atlassian.net/projects/DATAFARI/issues/DATAFARI-236

3. Open files with Internet Explorer 

Open Internet Explorer

Go to Internet Options

...