This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
bw:global_connections [2019/09/10 11:38] runger [DI Server Connections] |
bw:global_connections [2021/05/10 14:21] (current) akoehler [SAP Service Layer Connections] |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| This document describes to the process to create Bizweaver global connections. Global connections define connection information to allow other Bizweaver tools to interact with SQL Server databases, SAP HANA databases, SAP Business One DI Server, SAP Business One DI API, SMTP (Email), Exchange, and REST web services (including SAP Service Layer). These connections are defined once in this function and then can be used in any workflow. | This document describes to the process to create Bizweaver global connections. Global connections define connection information to allow other Bizweaver tools to interact with SQL Server databases, SAP HANA databases, SAP Business One DI Server, SAP Business One DI API, SMTP (Email), Exchange, and REST web services (including SAP Service Layer). These connections are defined once in this function and then can be used in any workflow. | ||
| - | |||
| - | ====== Audience ====== | ||
| - | |||
| - | This document is intended for developers of Bizweaver workflows. | ||
| - | |||
| - | ====== Related Documents ====== | ||
| - | |||
| - | The following documents contain additional information that may be helpful with the development of Bizweaver workflows. | ||
| - | |||
| - | * [[bw: | ||
| - | * [[bw: | ||
| - | * [[bw: | ||
| - | * [[bw: | ||
| - | * Exchange Tool (Coming soon) | ||
| - | * Webservice Tools (Coming soon) | ||
| ====== Before You Begin ====== | ====== Before You Begin ====== | ||
| Line 38: | Line 23: | ||
| * SMTP_MailServer (SMTP to server MailServer) | * SMTP_MailServer (SMTP to server MailServer) | ||
| * REST_BigCommerce (REST connection to Big Commerce webstore) | * REST_BigCommerce (REST connection to Big Commerce webstore) | ||
| + | * SL_SBODEMOUS (SAP HANA Service Layer to database SBODEMOUS) | ||
| * **Description** is used to capture additional information about the connection. Including a description is optional. | * **Description** is used to capture additional information about the connection. Including a description is optional. | ||
| Line 44: | Line 30: | ||
| The Global Configurations function is started by clicking on the appropriate icon in the toolbar as shown below. | The Global Configurations function is started by clicking on the appropriate icon in the toolbar as shown below. | ||
| - | {{: | + | {{ : |
| ===== Connection Listing ===== | ===== Connection Listing ===== | ||
| - | {{: | + | {{ : |
| - The area at the top of the page lists all connections that are currently defined. | - The area at the top of the page lists all connections that are currently defined. | ||
| Line 57: | Line 43: | ||
| - The existing configuration information is displayed. | - The existing configuration information is displayed. | ||
| - You will need to re-enter user/ | - You will need to re-enter user/ | ||
| - | - See [[bw: | + | - See **//[[bw: |
| - Click [**Validate & Save**] to save new/updated information. | - Click [**Validate & Save**] to save new/updated information. | ||
| - The application will try to validate things like server, database, and authentication information by completing the connection. | - The application will try to validate things like server, database, and authentication information by completing the connection. | ||
| Line 66: | Line 52: | ||
| **SQL connections** are used to connect Bizweaver to Microsoft SQL Server databases. | **SQL connections** are used to connect Bizweaver to Microsoft SQL Server databases. | ||
| - | {{: | + | {{ : |
| * Enter the **Server** name to which you are connecting. | * Enter the **Server** name to which you are connecting. | ||
| Line 83: | Line 69: | ||
| ===== HANA Connections ===== | ===== HANA Connections ===== | ||
| - | HANA connections are used to connect Bizweaver to SAP HANA databases. | + | HANA connections are used to connect Bizweaver to SAP HANA databases. These connections are typically used to __read__ data only, although insert/ |
| - | {{:bw:gcimage4.png?400}} | + | In Bizweaver v2.5 there are two options available: Single container (single tenant) and Multi Container (multi-tenant). The setup is very similar for both, and each one is illustrated below. |
| + | |||
| + | ====Single Tenant==== | ||
| + | |||
| + | {{ :bw:hana_db_connection_single.png? | ||
| * Enter the **Server name** to which you are connecting. | * Enter the **Server name** to which you are connecting. | ||
| * This will typically be a server/IP address & port number. | * This will typically be a server/IP address & port number. | ||
| - | * The standard port number for HANA databases is 30015. | + | * The standard port number for HANA single tenant |
| + | * The server and port are separated by a colon ( : ). | ||
| + | * Select the //Single Container// **mode**. | ||
| + | * Enter the **HANA Username** and **Password** to access the HANA database. | ||
| + | * Creating a database user specifically for Bizweaver connections is recommended (although it is not required) as it can aid in troubleshooting connection issues. | ||
| * Enter the name of the **Database** to which you are connecting. | * Enter the name of the **Database** to which you are connecting. | ||
| - | * Enter the **HANA Username** and **Password** to access the SQL Server database. | ||
| - | * Creating a HANA user specifically for Bizweaver connections is recommended (although it is not required) as it can aid in troubleshooting connection issues. | ||
| * Enter the **HANA Timeout** period | * Enter the **HANA Timeout** period | ||
| * The value is expressed in seconds. | * The value is expressed in seconds. | ||
| * The default value of 30 is appropriate for most installations. | * The default value of 30 is appropriate for most installations. | ||
| * This value is set on each database connection, so it can be different for each database if needed. The timeout value is used when the workflow is executed on a schedule or using the “Run now” option. | * This value is set on each database connection, so it can be different for each database if needed. The timeout value is used when the workflow is executed on a schedule or using the “Run now” option. | ||
| - | * Increase the value if you see SQL timeouts occurring in HANA logs. | + | * Increase the value if you see connection timeouts occurring in HANA logs. |
| + | |||
| + | ====Multi-Tenant==== | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | * Enter the **Server name** to which you are connecting. | ||
| + | * This will typically be a server/IP address & port number. | ||
| + | * The standard port number for HANA multi-tenant databases is **30013**. | ||
| + | * The server and port are separated by a colon ( : ). | ||
| + | * Select the //Multiple Containers// | ||
| + | * Enter the **Tenant Database** name. | ||
| + | * Enter the **HANA Username** and **Password** to access the HANA database. | ||
| + | * Creating a database user specifically for Bizweaver connections is recommended (although it is not required) as it can aid in troubleshooting connection issues. | ||
| + | * Enter the name of the **Database** to which you are connecting. | ||
| + | * Enter the **HANA Timeout** period | ||
| + | * The value is expressed in seconds. | ||
| + | * The default value of 30 is appropriate for most installations. | ||
| + | * This value is set on each database connection, so it can be different for each database if needed. The timeout value is used when the workflow is executed on a schedule or using the “Run now” option. | ||
| + | * Increase the value if you see connection | ||
| ===== DI Server Connections ===== | ===== DI Server Connections ===== | ||
| Line 103: | Line 114: | ||
| DI Server connections are only used in SAP Business One environments. They are used to connect Bizweaver to the SAP Business One DI Server application. The DI Server is a tool that interacts with SAP Business One to add and update data in the SAP Business One company database. | DI Server connections are only used in SAP Business One environments. They are used to connect Bizweaver to the SAP Business One DI Server application. The DI Server is a tool that interacts with SAP Business One to add and update data in the SAP Business One company database. | ||
| - | {{: | + | {{ : |
| * **Server** is the server (SQL or HANA) name where the SAP Business One database is found. If named instances are being used (e.g. ServerName\InstanceName) then the full instance name should be entered. | * **Server** is the server (SQL or HANA) name where the SAP Business One database is found. If named instances are being used (e.g. ServerName\InstanceName) then the full instance name should be entered. | ||
| Line 126: | Line 137: | ||
| DI API connections are only used in SAP Business One environments. They are used to connect Bizweaver to the SAP Business One DI API. The DI API is a tool that interacts with SAP Business One to add and update data in the SAP Business One company database. | DI API connections are only used in SAP Business One environments. They are used to connect Bizweaver to the SAP Business One DI API. The DI API is a tool that interacts with SAP Business One to add and update data in the SAP Business One company database. | ||
| - | {{: | + | <WRAP center round important 60%> **Currently SAP DI API Connections starting in Bizweaver version 2.5 will support SAP version 10. Only one connection of a SAP version will be allowed through Bizweaver either a SAP version 9.3 or SAP version 10 connection can be established not both ** </ |
| - | - **Server** is the server (SQL or HANA) name where the SAP Business One database is found. If named instances are being used (e.g. ServerName\InstanceName) then the full instance name should be entered. | + | {{ : |
| - | | + | |
| - | | + | * **Server** is the server (SQL or HANA) name where the SAP Business One database is found. If named instances are being used (e.g. ServerName\InstanceName) then the full instance name should be entered. |
| - | | + | |
| - | <WRAP center round tip 60%> **The company database name is case sensitive in this configuration.** </ | + | |
| - | | + | |
| - | | + | <WRAP center round important |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| + | | ||
| + | | ||
| ===== SMTP Connections ===== | ===== SMTP Connections ===== | ||
| Line 148: | Line 161: | ||
| SMTP connections are used to provide connection information for the server(s) that handle email. Most installation will only have one SMTP connection. However, there is no technical restriction on the number of connections that are defined. | SMTP connections are used to provide connection information for the server(s) that handle email. Most installation will only have one SMTP connection. However, there is no technical restriction on the number of connections that are defined. | ||
| - | {{: | + | {{ : |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| + | |||
| + | ==== Email Setup for Microsoft Office365 ==== | ||
| + | |||
| + | There are three different options for using Microsoft Office365 as your SMTP connector to send email from Bizweaver. Fortunately, | ||
| + | |||
| + | **Option 1 (recommended): | ||
| + | |||
| + | This option supports most usage scenarios and it's the easiest to set up. Choose this option when: | ||
| + | |||
| + | * You want to send email from a third-party hosted application, | ||
| + | * You want to send email to people inside and outside your organization. | ||
| + | |||
| + | To configure your device or application, | ||
| + | |||
| + | Each device/ | ||
| + | |||
| + | **How to set up SMTP client submission** | ||
| + | |||
| + | Enter the following settings directly on your device or in the application **as their guide instructs** (it might use different terminology than this article). As long as your scenario meets the requirements for SMTP client submission, the following settings will enable you to send email from your device or application. | ||
| + | |||
| + | ^Device or Application setting | ||
| + | |Server/ | ||
| + | |Port |Port 587 (recommended) or port 25 | | ||
| + | |TLS/ StartTLS | ||
| + | |Username/ | ||
| + | |||
| + | The following image shows how this setup is implemented as a Bizweaver Global Connection. | ||
| + | |||
| + | {{ : | ||
| ===== Exchange Connections ===== | ===== Exchange Connections ===== | ||
| Exchange connections are used to access a Microsoft Exchange server directly. | Exchange connections are used to access a Microsoft Exchange server directly. | ||
| - | {{: | + | {{ : |
| - Select the **Exchange Version** from the drop-down list. | - Select the **Exchange Version** from the drop-down list. | ||
| Line 180: | Line 222: | ||
| oAuth **1** is not supported in Bizweaver. | oAuth **1** is not supported in Bizweaver. | ||
| </ | </ | ||
| - | |||
| ==== Basic Authentication ==== | ==== Basic Authentication ==== | ||
| - | {{: | + | {{ : |
| - Select the **Basic Authentication** radio button. | - Select the **Basic Authentication** radio button. | ||
| Line 192: | Line 233: | ||
| ==== oAuth 2 Authentication ==== | ==== oAuth 2 Authentication ==== | ||
| - | {{: | + | {{ : |
| - Select the **oAuth 2 Authentication** radio button. | - Select the **oAuth 2 Authentication** radio button. | ||
| Line 200: | Line 241: | ||
| - Again, the API documentation should provide instructions on how to obtain the various authorization elements. | - Again, the API documentation should provide instructions on how to obtain the various authorization elements. | ||
| - The Redirect URI can generally be anything you like (e.g. https:// | - The Redirect URI can generally be anything you like (e.g. https:// | ||
| + | - The connection information is saved but is not validated. Any connection errors will only be shown when the connection is used in a workflow. | ||
| + | |||
| + | |||
| + | ===== SAP Service Layer Connections ===== | ||
| + | The SAP **Service Layer** is an API connection to Business One company databases. | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | - the **URL** is the pointer to the server where SAP Business One is installed. | ||
| + | |||
| + | < | ||
| + | https://< | ||
| + | </ | ||
| + | - **Database** is the SAP Business One company database name. This value is case sensitive. | ||
| + | - **Username** and **Password** are the credentials that will be used to " | ||
| - The connection information is saved but is not validated. Any connection errors will only be shown when the connection is used in a workflow. | - The connection information is saved but is not validated. Any connection errors will only be shown when the connection is used in a workflow. | ||
| Line 206: | Line 262: | ||
| When a Global Connection is deleted, a consistency check is performed to ensure that any workflows using the connection are updated. A list of associated workflows and steps are listed in the lower area of the window. Replacement connections must be specified or the deletion process will not continue. | When a Global Connection is deleted, a consistency check is performed to ensure that any workflows using the connection are updated. A list of associated workflows and steps are listed in the lower area of the window. Replacement connections must be specified or the deletion process will not continue. | ||
| - | {{: | + | {{ : |
| - Option 1 is to use the “Replace all” option to update all listed workflow (Task) steps with a new connection. | - Option 1 is to use the “Replace all” option to update all listed workflow (Task) steps with a new connection. | ||
| Line 219: | Line 275: | ||
| - Click [**Close**] to exit without saving any changes. | - Click [**Close**] to exit without saving any changes. | ||
| - | ====== Email Setup for Microsoft Office365 ====== | ||
| - | |||
| - | There are three different options for using Microsoft Office365 as your SMTP connector to send email from Bizweaver. Fortunately, | ||
| - | |||
| - | **Option 1 (recommended): | ||
| - | |||
| - | This option supports most usage scenarios and it's the easiest to set up. Choose this option when: | ||
| - | |||
| - | * You want to send email from a third-party hosted application, | ||
| - | * You want to send email to people inside and outside your organization. | ||
| - | |||
| - | To configure your device or application, | ||
| - | |||
| - | Each device/ | ||
| - | |||
| - | **How to set up SMTP client submission** | ||
| - | |||
| - | Enter the following settings directly on your device or in the application **as their guide instructs** (it might use different terminology than this article). As long as your scenario meets the requirements for SMTP client submission, the following settings will enable you to send email from your device or application. | ||
| - | |||
| - | ^Device or Application setting | ||
| - | |Server/ | ||
| - | |Port |Port 587 (recommended) or port 25 | | ||
| - | |TLS/ StartTLS | ||
| - | |Username/ | ||
| - | |||
| - | The following image shows how this setup is implemented as a Bizweaver Global Connection. | ||
| - | {{: | ||