Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,43 @@ To learn how to use this activity in a microflow and configure other aspects of

## Properties

{{% alert color="info" %}}
Prior to Mendix 11.3.0, some of these properties were grouped in different sections.
{{% /alert %}}

Double-click the **Query External Database** activity to view its properties.

The **Query** section contains the following properties:
The **General** section contains the following properties, which are used to provide dynamic connection parameter values:

* **Database** – the name of the database you want to query
* **Query** – the saved SQL query from your configuration of the Database connector
* **Parameters** – the saved parameters from your configuration of the Database connector

The **Connection** section contains the following properties, which are used to provide dynamic connection parameter values:
* **Connection Parameters**
* **DBSource** – Enter the JDBC URL you want to use for connection during runtime
* **DBUsername** – Enter the username you want to use for connection during runtime
* **DBPassword** – Enter the password you want to use for connection during runtime

If you are using SSL based authentication for Postgres, provide the value for

* **DBSource** – Enter the JDBC URL you want to use for connection during runtime
* **DBUsername** – Enter the username you want to use for connection during runtime
* **DBPassword** – Enter the password you want to use for connection during runtime
* **ClientCertificateIdentifier**

If you are using SSL based authentication for Postgres, provide the value for
If you are using key-pair authentication for Snowflake, provide the value for:

* **ClientCertificateIdentifier**
* **PrivateKey**
* **Passphrase**

If you are using key-pair authentication for Snowflake, provide the value for:
The **Query** section contains the following properties:

* **PrivateKey**
* **Passphrase**
* **Query** – the saved SQL query from your configuration of the Database connector
* **Dynamic** – Choose **Yes** to update the query—*this option is available in Mendix 11.3.0 and above*
* **SQL** – When **Yes** is selected, the SQL field appears prepopulated with the selected query; you can then modify this query, using variables and parameters if required
* **Parameters** – the saved parameters from your configuration of the Database connector

In the **Output** section are the following properties:
The **Output** section contains the following properties:

* **Return type** – the return type once the microflow is completed
* **Use return value** – select **Yes** or **No**
* **List name** – if **Use return value** is set to **Yes**, this is the name of the returned list

{{% alert color="warning" %}}
It is your responsibility to apply the proper security, as this action can allow for SQL injection into your application. Do not use user-supplied or environment-supplied variables in your SQL statement; if possible, you should prefer them to be static.
{{% /alert %}}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.