如何從PHP訪問Sharepoint列表?

[英]How to access a Sharepoint list from PHP?


I'm trying to get data from a SharePoint list from my PHP website, which contains a MySQL database. The list contains data which can be stored in the MySQL database.

我正在嘗試從我的PHP網站獲取SharePoint列表中的數據,該網站包含一個MySQL數據庫。該列表包含可以存儲在MySQL數據庫中的數據。

Here are 2 solutions I thought of, but I'm also unsure of their possibility:

以下是我想到的兩種解決方案,但我也不確定它們的可能性:

  1. Using a webservice to reach the SharePoint list from PHP.

    使用Web服務從PHP訪問SharePoint列表。

  2. Connecting PHP's MySQL database with SharePoint's list so that they communicate with one another. But I don't know how to go about doing this solution.

    將PHP的MySQL數據庫與SharePoint的列表連接起來,以便它們相互通信。但我不知道如何去做這個解決方案。

Does anyone know how to improve on the above mentioned solutions? Or provide any alternatives?

有誰知道如何改進上述解決方案?或提供任何替代方案?

1 个解决方案

#1


0  

Look into the Business Connectivity Service. It allows you to configure a database table as an external list. To the user's they will be working with a SharePoint list but behind the scenes, the list is actually a representation of the database table with direct crud functionality.

查看Business Connectivity Service。它允許您將數據庫表配置為外部列表。對於用戶來說,他們將使用SharePoint列表,但在幕后,該列表實際上是具有直接crud功能的數據庫表的表示。


注意!

本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:https://www.itdaan.com/blog/2017/12/01/720b57f74707c40a9550d96e9f142627.html



 
粤ICP备14056181号  © 2014-2020 ITdaan.com