Input
The following table describes the fields on the Input tab of the InsertDocument activity.
Input Item | Data Type | Description |
---|---|---|
CollectionName | String | Specify a name for the collection where documents are inserted, within single or double quotation marks. Adhere to the following rules when specifying the collection name:
The value specified in this field overwrites the value specified in the Collection Name field of the General tab. |
Document | String | Enter a document name in this field within double quotation marks. This document is inserted in the specified collection. |
ContinueOnError | Boolean | Enter true() in this field if you want the remaining insert operations to continue even when an error occurs. Otherwise, leave this field blank. |
IndexDocument | String | Enter a document name within double quotation marks to index documents in the specified collection. The index document can be further used in querying documents.
For more information about creating an index, see http://docs.mongodb.org/manual/administration/indexes-creation/ . |
IndexOptionsDocument | String | Enter an index type for the index document within double quotation marks, such as
"{unique:1}".
For more information about the index options, see http://docs.mongodb.org/manual/core/index-properties/ For more information about createIndex method, see https://docs.mongodb.com/v3.0/reference/method/db.collection.createIndex/ |
The following fields are displayed when the Is GridFS check box is selected on the General tab. | ||
BucketName | String | Specify the name for the bucket, where files are inserted, within single or double quotation marks. Adhere to the following rules when specifying the bucket name: |
GridFSFile | N/A | This node supports duplication. |
FullFileName | String | Enter the absolute path for the file within single or double quotation marks. This file is inserted in the specified bucket. |
NewFileName | String | Enter a new name for the file within single or double quotation marks when you insert it into a bucket. The new file name can be used when you query the file. |
Copyright © 2021. TIBCO Software Inc. All Rights Reserved.