Académique Documents
Professionnel Documents
Culture Documents
Contents
Brief Description......................................................................................................... 2
System Requirements................................................................................................. 2
Linked server Integration............................................................................................ 2
SQL Server.............................................................................................................. 2
TNS and SQLNet...................................................................................................... 2
Create the linked server.......................................................................................... 3
Linked server to New SQL Database...........................................................................6
Create a new database and create a view..............................................................6
SQL to SharePoint List................................................................................................ 7
Create a Secure Store Service ID............................................................................ 7
Create an external list on SharePoint Designer.......................................................8
Brief Description
This article describes a no-code solution on how to create an external content type from Oracle. The
article will briefly describe the existing table in Oracle 11gR2, the SQL Linked connection and then
creating the Business Connectivity Service in SharePoint 2013 on-premises.
System Requirements
i) SharePoint 2013 with SP1 on a Windows 2012 server.
ii) SQL 2012 with SP1 on a Windows 2012 R2 server.
iii) Oracle 11g R2 on a Windows 2012 R2 server.
SQL Server
Setup the TNSName and the SQLNet files and add environment variables
In order to create a successful linked server on SQL you will need to have the TNSname and SQLNet
files updated or in some cases added or built. We will also check and confirm if the registry settings is
pointing to the correct ODBC client, add the environment variables and finally create the ODBC
connection.
The above screenshot shows several important settings. We see that the location of the SQLNet.ora
file's location, a 64-bit TNS ping utility is being used, we are currently using the client 2 oracle client
and that the connection was OK i.e. successful.
Go to the SQLNet.ora file location which is show above. In this case the file location is
C:or D:\app\administrator\product\11.2.0\client_1\network\admin and below is what I have.
b) Right-click on OraOLEDB.Oracle and choose Properties. Enable Dynamic parameter and Allow
inprocess. Below is a screenshot.
c)
d) Below is as screenshot of the Security settings. We are using the same service account.
e) Click Ok and confirm that your linked server has been setup. Once it has then go to the
server and confirm that you can see the tables and views. Below is a screenshot.
Now, go back to the any table in the SELFSERVICE linked server, right-click on it. Go to Script Table as
> SELECT To> New Query Editor Window. Below is a screenshot.
Now go back to the OracleIntegrationSelfservice database that we just created, right-click on Views
and select New View.
You will receive an Add Table window as shown below, click Close.
Execute the query and confirm that you have received data from the Linked Server and save with the
proper name.
As shown above, oracleLinkedServer is the service account for the SSS ID hence goes to the SQL
server and gives this account access to the OracleIntegrationSelfservice database.
b) Give the content type a name that makes sense, in this scenario the name is . Next, click on
the link for External Systems as shown below
c) Click on the Add Connection button, and then select SQL Server as the data source type
d) You can now see the connection made to the OracleIntegrationSelfservice database as shown
below
e) Right-click on the SelfServiceOracledata view and select Create all Operations as shown below
g) Now you can go to any of your SharePoint site and select the External List app, give it a name
and select the external content type that was just created.
h) And finally you get to view the external list!