BoostSolutions' Data Connector can connect external data sources to native SharePoint list, including SQL Server 2000-2014, Oracle Database, MySQL 5.0 Database and external SharePoint list.
In this article, we will demonstrate how to create a profile to connect Oracle database to a SharePoint list, and sync data into the list.
Connect Oracle database to a SharePoint list
And we have a table named as ORDERS in the Oracle database with the Service Name of test.boost on the Oracle Server with the host name of OracleServer, the table contains these fields and items as following.
Download the trial version of Data Connector and install it to your SharePoint server.
Navigate to the site in which the Sales Orders list is located.
In the upper right corner, click Settings and then click Site Settings.
On the Site Settings page, click Data Connector Settings under BoostSolutions Software section in the bottom right corner of the page.
On the Data Connector Settings page, click Create Job.
After clicking Create Job, you will enter the Edit Job page.
In the Job Name section, specify a unique name for the job, such as job-1.
In the Direction section, specify the direction for the data connection. Select From external data to list option which means we will sync data from the external data source to this SharePoint list.
In the
List section, specify a SharePoint list or Document Library to which you want to sync data from the
external data source. Select
Choose an existing list option. Click
to browse and select the
Sales Orders from the drop-down list.
In the External Data and Authentication section, configure the settings as following. Specify the external data type and database authentication. (Ensure the user account you specify has the appropriate permissions to access the external data source.)
External Data Type: Select Oracle as the external data type.
Host Name/IP: Enter the host name where the Oracle database is situated or the IP address of the Oracle server on which the Oracle database we want to sync is stored.
Port Number: Enter the TCP/IP port number to connect to the database server (The default port number is 1521).
Service Name/SID: Set the Service Name/SID which you want to connect. Select the corresponding radio button. Here we select Service Name and input test.boost.
Username: Enter the name of a user who has Write permission to the database.
Password: Enter the user’s password.
Click Connect to connect the Oracle Server we specified. If everything goes right, it will show Connection successful below the Connect button. And the databases existed on the specified Oracle server will be populated to the dropdown list as shown in the picture above.
Database: Select a database. Here we select the default database.
In the Data Settings section, specify which external data will be connected to the SharePoint list. Select Specify a table/view to filter option, type the table’s name ORDERS (the table ORDERS stored in the test.boost as we described in the sample data section) and click Check button to verify the table.
If the table name is invalid, there will be a warning message appears as following.
In the Column Mapping section, map the fields in the external database to the columns in the SharePoint list as following.
By default, the database fields which have the same name and type with that of the columns in the SharePoint list will be automatically mapped.
Click Add a column mapping to add a column mapping manually.
In Column in List, select Order No.; and in Column in External Data, select NUMBER.
And then select Order No. as the key. A “key column” is one that uniquely identifies records and can be used to compare data sources.
Keep other settings as default and click Save to save the settings.
And then you will find that the job has been created on the Data Connector Settings page, the job-1.
Click the Run button for the job-1 and waiting for the job to be run completely.
After the job run completely, click Close. And navigate to the SharePoint list Sales Orders list, and you will find that the data stored in the table “ORDERS” in the Oracle database “test.boost” have been synced to the SharePoint list successfully as following.