cancel
Showing results for 
Search instead for 
Did you mean: 

NeoDash parameters with other parameters

pdrangeid
Graph Voyager

First - LOVE Neodash - Thanks to @Niels de Jong 

This is what I was looking for - very happy I attended this session at GraphConnect 2022!

I'm curious about a couple things:
1 - parameters.  I was able to add a bit more complexity by manually editing the json and re-importing.
I wanted to let someone search for companies that had an certain type of contract, and that works great!

 

 

MATCH (n:`Company`)-[:CONTRACT_FOR]-(:Crmcontract)-[:UNDER_CONTRACT]-(:Crmcharge)-[:INCLUDES_ITEM]-(:Crmitem)-[bsr]->(:Bnservice) WHERE TYPE(bsr) CONTAINS 'BLUEASSURE' and TYPE(bsr) contains 'PLAN' and toLower(toString(n.`name`)) CONTAINS toLower($input) RETURN distinct n.`name` as value LIMIT 5

 

 

Then I wanted to have ANOTHER parameter search that built off of the selected company, but that doesn't seem to work: 

 

MATCH (n:Contact)-[:WORKS_FOR]-(a:Company {name:$neodash_company_name}) WHERE toLower(toString(n.name)) CONTAINS toLower($input) RETURN DISTINCT n.name as value LIMIT 5

 

I'm curious if there's a way to use nested parameters or combine parameters for more complex used-definable fields.

1 REPLY 1

bennu_neo
Neo4j
Neo4j

Hi @pdrangeid !

Thanks for showing interest on NeoDash. Some enhancements around the Parameter Selection, interaction between Charts and global parameters is on the backlog already. 

Even if we are not there yet. There's a quick fix that should work. Are you testing it on a local environment? If is that the case, I can share you the new version of a file (yes, just one) that will allow you to 'hack' the parameter selection while this get properly implemented.

Best Regards!

 

Oh, y’all wanted a twist, ey?