Forum Discussion
SharePoint Online with ODATA Connection to BI Tools
- Sep 07, 2018
By URL connection string samples, you mean just examples of accessing the OData? If so, this https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/get-to-know-the-sharepoint-rest-service has a number of examples. Again, the trick is to simply paste the URL in chrome. Other browsers will certainly work, but the other browsers assume you don't want to see raw data and either prompt to have you download a file or try to hide it from you. Chrome just shows the raw data. For example, your URL with lists/getbytitle is fine, and will return all the list items (or, the first batch if there's a lot of items).
First, you can use Chrome to view any of the data urls, so you don't have to wonder if you have a working URL. Second, what BI tools are you using and what error message? Without knowing any details I'll take a guess that the issue is related to authentication, as Online has a completely different authentication mechanism than on-prem, and not all tools support it.
- Brandon TempelSep 07, 2018Copper Contributor
That was my fear! We resolved the issues we were having with on-prem by using "basic authentication". Before we migrated to the cloud, I asked what that looked like on the cloud and was told that I should have more flexibility and functionality, not less. We are using the Information Design Tool (IDT) associated with SAP's Business Objects Suite. It offers a number of different connection types, but currently working with a "Generic OData 2.0" connector (because it worked with on-prem). The error message I get is:
"A problem occurred while communicating with the provider. Detailed message: Server error: (response: status=403, reason='Forbidden', request='/sites/BusIntelligence/_api/web/lists/getbytitle('AssignedRequests')/items/$metadata')"
Thank you, Michael! I appreciate your input, as I've not been able to find much to help.
- Michael GauntlettSep 07, 2018Brass Contributor
This may not help you, but both Excel and Power BI can easily connect to lists in SharePoint online.
- Brandon TempelSep 07, 2018Copper Contributor
I would be interested in looking at the URL connection string if you had some examples? I know they may not be the same, but it might spark some ideas. Unfortunately, we are not licensed with PowerBI to publish content and the goal was to create a project tracking cockpit published to the web for ease of access, using Business Objects. This was a way to put some analytics to how we spend our time. Are we hitting target dates, what types of projects are we working on, etc. A way to expand the Business Objects' package of value by integrating with SharePoint. Thanks again for sharing your knowledge, Michael!