Skip to main content

xSuite Interface Windows Prism 5.x – Online Help

Output System "MongoDB"

The "MongoDB" output system creates new data records in a MongoDB. JSON objects are required for this generation. Index fields cannot be output directly, only file attachments in JSON format. Such file attachments in JSON format can be generated using the "JSON" output format, for example. The default setting for the .FileFilter differs from the standard *.json.

Property

Description

Host

Name or IP address of the database server

(default value: localhost).

Port

Numerical specification of the IP port to be used

Default value: 27017

User(*)

Password(*§)

User name and password for logging in to the database, if an anonymous login is not used

AuthDbName

Name of the authentication database if the user login is active

Default value: admin

ConnectionString(§)

As an alternative to the connection and authentication properties described above, a connection string – with additional options if necessary – can be defined directly in native MongoDB syntax (i.e., in the form of a URL). This URL will then be used instead of the connection and authentication properties.

The .Password property can also be defined separately when using a connection string, inserted into the string via the %Password% variable.

DbName*(%)

Collection*(%)

Name of the database and collection to which the output is made

IdField

Name of a field from the field catalog to which the ID generated by MongoDB (property _id) of the inserted object will be written back (optional)