4.4.1.12 Creating a MongoDB Target

To create an MongoDB target:

  1. On the Catalog page, click Create New Item.
  2. Hover the mouse over Target and select MongoDB from the submenu.
  3. On the Type Properties screen, enter the following details:
    • Name: Enter a unique name for the target. This is a mandatory field.
    • Display Name: Enter a display name for the target. If left blank, the Name field value is copied.
    • Description
    • Tags
    • Target Type: The selected target is displayed.
  4. Click Next.
  5. On the Target Details screen, enter the following details:
    • Connection: Select a MongoDB connection from the drop-down list.
    • Database: Enter the name of the database to be used for the target.
    • Collection: Enter the name of the collection to insert documents.
  6. Click Next.
  7. On the Shape screen, select one of the methods to define the shape:
    • Select Existing Shape: Select one of the existing shapes from the drop-down list.

    • Manual Shape: Select this option to manually define a shape. You can also add to, or remove fields from, an existing shape. Enter the following details:
      • Shape Name: Enter a name for the shape.
      • Clear Fields: Click to delete all the fields in the shape.
      • Key: Select none, or one or more fields as key. This key will be the ID field.
      • Field Name: Add the necessary fields.
      • Field Type: Select the field data type from the drop-down list.
  8. Click Save.