Versions Compared

Key

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

...

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 openLocopen Local file extension :

https://chrome.google.com/webstore/detail/locallinks/jllpkdkcdjndhggodimiphkghogcpidaThen activate the extensionenable-local-file-links/nikfmfgobenbhmocjaaboihbeocackld

Then activate the 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:

  • Open the AppData folder

To locate it easily in Firefox, click on :

...

You then need to copy user.js into the folder, to stop Firefox (check that the process has been killed) and restart it. The local files should open normally.

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 ExplorerExplorer 

Open Internet Explorer

Go to Internet Options

...

Restart your windows explorer, do another search and voila !

NB : if you use Edge, you need to do these steps with IE and restart Edge.