Document Store
The Document Store component allows you to store data into the Content Store.
The component will validate if the object is in line with the data model.
Handlebars
This component lets you use Handlebars templates. More information about Handlebars can be found in this section
Configuration
The Document Store component can be configure to work in three different modes:
_id
. It updates the data in the Content Store with the newly supplied values. Any omitted fields will be kept. If the document doesn't exist it will be created._id
or creates it if it doesn't exists.Connection string
A MongoDB connection string.
Example: mongodb://<username>:<password>@localhost:27017/<databaseName>
Here <databaseName>
is the database to store content.
Whether or not to use TLS in case your mongoDB requires TLS.
Allow Invalid CertificatesChecking this will disable certificate validation.
One or more certificate authorities to trust when making a TLS connection. In order to access the local filesystem, the XILL4_WORKDIRS
environment variable must be set to the path of the directory to be accessed.
Example: .\ca.pem
Enables component-level document validation. (default: true). Component-level validation will give you more detailed messages about the document requirements than database validation.
Inputs | Outputs
document
key. The document should be formatted according to any of the schemas in the data model.{
"document": {
"exampleKey1": "exampleValue1",
"exampleKey2": "exampleValue2",
}
}