- Getting Started
- Administration Guide
- 
                                        User Guide
                                            - An Introduction to Wyn Enterprise
- Document Portal for End Users
- 
            Data Governance and Modeling
                - Data Binding Concepts
- 
            Introduction to Data Sources
                - Connect to Oracle
- Connect to SQL Server
- Connect to MySQL
- Connect to Postgres
- Connect to Snowflake
- Connect to SQLite
- Connect to DM
- Connect to TiDB
- Connect to AnalyticDB(MySQL)
- Connect to GreenPlum
- Connect to TimeScale
- Connect to Amazon Redshift
- Connect to MariaDB
- Connect to ClickHouseV2
- Connect to MonetDB
- Connect to Kingbase
- Connect to GBase8a
- Connect to GBase8s
- Connect to ClickHouse
- Connect to IBM DB2
- Connect to IBM DB2 iSeries/AS400
- Connect to Doris
- Connect to OceanBase(MySQL)
- Connect to Kylin
- Connect to StarRocks
- Connect to Google BigQuery
- Connect to Hive (beta)
- Connect to ElasticSearch (beta)
- Connect to Hana
- Connect to Excel
- Connect to JSON
- Connect to CSV
- Connect to XML
- Connect to MongoDB
- Connect to ElasticSearchDSL
- Connect to InfluxDB
- Connect to SSAS
- Connect to ODBC
- Connect to OData
- Connect to TDengine
- Connect to Teradata
- Connect to Custom Provider
 
- Introduction to Data Model
- Introduction to Direct Query Model
- Introduction to Cached Model
- Introduction to Datasets
- ETL Designer
- Secure Data Management
- How To
 
- Working with Resources
- Working with Reports
- Working with Dashboards
- View and Manage Documents
- Understanding Wyn Analytical Expressions
- Section 508 Compliance
- Subscribe to RSS Feed for Wyn Builds Site
 
- Developer Guide
Connect to MongoDB
To create a MongoDB data source in Wyn Enterprise, follow these steps.
- On the Resource Portal, navigate to Create (+) > Create Data Source. 
- Select MongoDB in the data source list on the left or in the icon view on the right. 
- Fill in the database configuration information for the selected data source. 
| Field | Description | 
|---|---|
| Name* | The name of the data source that you want to specify. | 
| Server* | A server name or address. | 
| Port | A port number. | 
| User* | A user name to connect to the MongoDB database. | 
| Password* | A password of the MongoDB user. | 
| Database* | Enter the server MongoDB instance name. | 
| Use Configuration String (Advanced) | Use this option to connect to the data provider through a connection string. The format of the connection string is: -Use Cache: The default value is true, which means that the result of this statement will be cached at the second level. -Timeout: Timeout exit time, the default value is 180 seconds. In addition, you can use the user context attribute in the string to filter data, in the format "@{User context name}" such as "@{DBName}". See User Context for details. | 
| Use Table/Field Name Mapping | If you check this option, you can either import a CSV file or manually enter the display names for the required tables or fields in the Mapping dialog. For more information on mapping tables and column names, visit this topic. | 
* Required fields
- Click Create after the successful connection. - You can view the added data source in the Categories tab of the Resource Portal. 
 
                                                                 
                                                                 
                                                                    