Where do I find cypher files from Favourites of Neo4j Browser?

Where can I find all those cypher scripts I've produced over time and I can currently access from Favourites?

I've expected to find them in:
C:\Users\XXXXXXXXXX\.Neo4jDesktop\graphApps\_global\neo4j-browser
but nothing is there.

Favorites are stored in the browser cache, soo...

- Beware!  Clear your browser cache and you lose your favorites.
+ Not to worry, you can download the favorites to a local file and restore them later.

You can select individual files or multi-select with ctl/cmd + shift and then right mouse to download the files. Unfortunately you currently can't multi-select folders, and to restore you have to drag each file one by one back into the browser

2022-03-02_19-58-58

Keep in mind that favorites are per browser cache. You won't see favorites stored in the browser launched from Neo4j Desktop in Chrome, Firefox, etc.

1 Like

@dan.flavin_enterpris This doesn't make any sense and is a bad design decision.

The docker container has a volume which we attach for persistence. What is the point of that if it's not going to be used? I found out that on a hard refresh i lost 3 hours worth of work because of a massive oversight in your design decision. This should be changed to be persistent and cached on the volume.

@AlexD

What version of Neo4j?

With the latest, and if you open a browser connection to http://<Neo4jHost>:7474/browser/preview i.e. the same URL as before but append a /preview you can see the 'new' Browser. From here you can import/Export Cypher Favorites. But note the current Browser Favorites from the traditional Neo4j Browser do not automatically come over into /browser/preview