how do I change the order of rows in GrapheneDB node? - neo4j

my nodes have the following order in GrapheneDB neo4J hosted database:
<id>:3 human_date:Wednesday, July 5, 2017type:painuuid:7c74a49d-f102-4825-914b-87dcc88d339bvalue:Emptinessepoch_utc_i:1499285499
The input of the JSON object is I first create the node with the value, and then set properties: {uuid, epoch_utc, human_time}
It's hard to use the graphical UI to see different nodes because only human_time is displayed...and that is often the same for multiple nodes. I would prefer to see type or value

You can change the properties that were picked by Neo4j Browser to be displayed as captions.
Just click at the top of the window on a Label tag, and once selected, change the caption at the bottom to type or value.
For more advanced styling, like displaying multiple captions, you can edit the Graph Style Sheet (.grass file). Just enter :style in Neo4j Browser, click on the download icon, edit and upload the file back and the changes will be reflected.
You can read more on Neo4j Browser styling here.

Related

Google Sheets Data entry form that has search functionality and can display matching records I can scroll though

Ive built this exercise routine creation tool in Google Sheets. I can build the routines from other sheets where I search & select the exercises and then populate my template (the right side of the image below). I've added Save functionality where I can then save all my routines (on the right side of the image) and call them up again to edit individually as needed.
The next step in my project is to be able to search through the existing rows of data on the right (each routine is in one row) by using keywords from the dropdowns at the top. So If I wanted to see all the beginner workouts, I select "Beginner" from the dropdown, and by creating a button called "Search Routines" I will then be able to populate my template with records matching the "Beginner" keyword. I want to be able to scroll through each routine (record) (Next,Previous) until I find a suitable routine for my client, and then print it.
I've been searching for days. Literally. Without luck. Seems like I need to connect my sheet to an external form builder or database that allows you to scroll though records meeting the search criteria. I'd love to be able to build something inside Sheets, however.
https://docs.google.com/spreadsheets/d/1HLmN_ukXuWHxUaq4TEVcZG22fAJMMw9ksaIInLGTwao/edit?usp=sharing
Any ideas?
try to filter it:
=FILTER(H:L; H:H=D1)

Change node label from id to name

Very new to Cypher and Neo4j so please excuse my ignorance and misuse of terms. I am looking to change the label of a node from the ID to the property name (see image below). I used the following code to load the data from CSV.
load csv with headers from "file:///Goal.csv" as row
create (g:Goal) set g.name = row.goalName
Is there a way to change the label from the ID to the name property? I have tried the solution in the link below but it did not provide what I am looking for. Ultimately I would like the node to show the name information (i.e. reduce fuel, green, etc.)
Change node label in neo4j
Dave Bennett's comment's right - the docs will help show all the visualisation customisations you can do but for this specific case:
Click the node label above the graph visualisation you want to change - they're colour-coded
Choose a new caption field underneath the graph
In this graph, let's change the caption of the yellow 'Location' nodes:

Neo4j Show Only Specific Relations in the Browser Graph View

I have this Cypher query:
MATCH (i:Issue {name:"SN-229"})-[d:ON_DATE]->(s:Stage)
RETURN i,(MAX(d.long)-MIN(d.long)+1) AS Days,s
and I get these results in the Neo4j Browser's Text view
Which are the answers I want.
But when I view the result in the Neo4j Browser's Graph view, it insists on displaying the individual dates in the relationships!?!?
What query could I write to show me this "ideal" Graph view (the displayed dates are the MIN(d.long) dates) or at least just display the relationship with the MIN date?
This query will return all of the required info for my ideal Graph view, but again, it insists on displaying all of the relations (and I don't know how to modify the caption for the relationship, via the query, to add the 'X Days' to the relation's displayed date):
MATCH (i:Issue {name:"SN-229"})-[d:ON_DATE]->(s:Stage) RETURN i,MIN(d),(MAX(d.long)-MIN(d.long)+1) AS Days,s
When the option "Connect result nodes" is checked, Neo4j browser will connect the resultant nodes in the graph visualization mode when a connection between these nodes exist.
To disable this behavior you should go to the section "Graph Visualization" of Neo4j Browser Settings and uncheck the option "Connect result nodes" as show in the image below:

What are hidden fields in a Clarion .TPS file?

I am looking at extracting some data from a Clarion .TPS file and I have been using the TopScan Application to open them.
When I look at the tables there are lots of hidden fields.
Are they just protected fields i.e. to stop someone from seeing the information or are they something to do with the indexes?
Also would using the ODBC driver reveal what they are?
Reards
The first time you open a TPS table using Topscan, it only shows the first few columns (15 I think) and the rest are set as "hidden". This is only a feature of Topscan, not a developer or technical restriction.
To view them, click on the menu Column ยป Show/Hide.... It will show a dialog with all the columns in the table, click the button Select all and OK and all columns will be displayed.
After you close the table, a new file tablename.SCN will be created, it saves the visible/hidden status of the columns and any other changes you make the view (column width, position, picture, etc.)

Why would a SharePoint lookup menu require a double-click to select an item?

I have a SharePoint feature which programatically creates 3 lookups in a custom list, one from each of 3 different lists via extremely similar CAML markup.
The only differences in the CAML are the List, ID, Name, DisplayName and StaticName properties yet one of these lookups looks slightly different (has a slightly more "modern" drop-down arrow) than the other two and this same menu requires I double-click in order to select an item instead of single-clicking as I do with the other lookups.
Might anyone have seen this before and have an idea of what I might look into to make this lookup operate as a single-click menu?
The style of dropdown displayed is usually related to the number of items, although it also renders as a standard select element when viewed in firefox.
For any other field type it would make sense to create a custom field control, but due to code that expects things to be named "Lookup", lookup fields are next to impossible to extend.
The best way to customize a specific field is probably with javascript/jquery. When you click on the dropdown arrow, ShowDropdown (in core.js) is called. This creates a select element with options set from the pipe delimited list in the choices attribute of the textbox.
Add some code to the page so that on load EnsureSelect and FilterChoice or similar are called to create the select element. Set properties on the textbox and select elements so that the textbox as hidden and the select element is a visible dropdown. Have SetCtrlFromOpt called on change rather than on blur/double click so that the control that the server will read and save is properly updated.
The same approach could be used to keep the combo box but add a click event to set the value rather than requiring a double click.
How many items has the source list of every lookup field?
Lookup fields shows a "Combo" when the source list has 10 items (I'm not sure if 10 item is the exact limit). When the source list has more than 10 items the lookup field shows a "ListArea" control that works as you said.
I have exactly the same problem. One difference I have noticed is that the one listbox that requires a double-click is a lookup field, whereas the one that doesn't is a choice field with pre-populated choices. Don't know if that helps.

Resources