Question

Firstly I'm open to suggestions if people have better solutions or ideas. I want to create a Dashboard with CRUD operations from the Oracle data and planning on using SPD External Content Types.

I've installed BCS on the server and need to make a connection to Oracle. In SPD > External Content Type I get options for .NET, SQL Server, WCF Service and no Oracle at the moment.

I've seen some 3rd part tools to do this but want to know if I can create my own XML file and add it to the BCS section in Central Admin.
This link on the Microsoft site shows a sample of the xml file but not sure if it will work the way I intend. https://msdn.microsoft.com/en-us/library/office/ff464424(v=office.14).aspx

Do I need to ONLY copy the code on the linked page into notepad and make a few adjustments and add into BCS (Import BDC Model) ?

Do I need to use Visual Studio as mentioned in several articles?

Thanks

Était-ce utile?

La solution

Be aware of this important point

If the retrieving items from oracle database are more than 2000 items you will face performance issue so I advise you to check external list limitation before you try to use BCS even if you increase its default max to absolute max via powershell.

Regarding using Oracle with visual studio you should

  • Make sure that the Instance Oracle Client and Oracle Data Provider for .Net (x64) have been installed.
  • Open Visual Studio > Tools Menu > Select Connect to Database.
  • Select Oracle DB and for data provider select .Net Framework Data Provider for Oracle > Click Continue.
  • Add Connectiontion based on tnsnames.ora file

For real scenario, you can also check Connect to Oracle DB via Visual Studio

Autres conseils

You could use SharePoint Designer to do this. In Visual Studio you will have more possibilities but it is way more complicated. I think for your purpose SharePoint Designer will do the job.

Ingo Karstein: Create a simple BCS connection with SharePoint Designer 2010

this helped me a lot to get started with BDC connections ;)

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top