cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Execute Cypher Query within URL

Hi - I want to roll out my graph database to users who are non-technical using the neo4j browser. Ideally I would want to write the cypher statements automatically and pass them to the browser in the url.

Example:

http://localhost:7474/browser/?cmd=play&arg=MATCH%20(node:Person)%20RETURN%20node

The above url will attempt to run the cypher command within :play which will fail as play is for browser help etc.

What can I replace play with so that my cypher query is executed?

2 REPLIES 2

mark3
Node Link

I think I would be more inclined to write a custom browser guide than try to run queries from the url (which I'm not entirely sure is possible).

With a custom browser guide you can include documentation for the users along with hints and tips as well as running queries in the browser.

Take a look at:

Regards,

Mark

Is it possible to use javascript, inside of a custom guide?

I would like to populate an input select field, with values from neo4j, but I can't seam to make javascript code run inside the guide.