You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

String Property

A String Property can hold a single string value.

A String Property

Details

A string property has an additional input field in the type editor that contains the expected content MIME type of the strings in this property.

JSON Output
{
	"query_time": "0.000897187",
	"result_count": 1,
	"result": {
		"projectName": "Project of the Month"
	},
   	"serialization_time": "0.000051543"
}

Search results for "String Property"

Existing data in Neo4j

Data in a Neo4j database is available in Structr if the following requirements are met:

  1. For all data types in Neo4j that should be accessed through Structr, data types must exist in Structr that match the node label. Create these types in the Schema Editor.
  2. The type attribute of every node instance is set to the primary type (=simple class name). This is necessary because Neo4j labels don’t have a reliable order.
  3. Nodes and relationships have an id String property with a UUID as value. Use the “Add UUIDs” function from Schema section -> Admin -> Indexing.
  4. The primary type (simple class name) as well as the supertypes and implementing interfaces have to be set as labels in Neo4j. Use the maintenance commandCreate Labels” from Schema -> Admin -> Indexing to set all necessary labels.

Entity Resources

For relationships with cardinality 1 the UUID of the connected node has to be sent as a String property. For relationships with cardinality * the UUIDs of the connected nodes have to be provided in a JSON collection of Strings.