Updating a Connector to Use Friendly Formats

Update a connector in Connector Hub to use friendly message formats. Friendly message formats are available with connectors that use Notifications as the target.

For example messages with friendly format, see Example Connector Messages.
    1. Open the navigation menu and click Analytics & AI. Under Messaging, click Connector Hub.
    2. On the Connectors page, select the compartment that contains the connector that you want.
    3. Click the name of the connector that you want.
    4. On the connector's details page, click Edit.
    5. On the Edit connector page, under Configure target, select Send formatted messages.
      For information about the fields on this page, see Creating a Connector.
    6. Click Save changes.
  • Use the oci sch service-connector update command and required parameters to update a connector for friendly message format:

    oci sch service-connector update --target <target_json_filepath> [...]

    Define the Notifications target for the connector, including friendly message format: Save a file named target.json.

    Example target.json file
    {
     "kind": "notifications",
     "enableFormattedMessaging": true,
     "topicId": "<topic_OCID>"
    }

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the UpdateServiceConnector operation to update a connector for friendly message format. In the Notifications target details, set enableFormattedMessaging to true.