久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

如何將sharepoint與php連接

how to connect sharepoint with php(如何將sharepoint與php連接)
本文介紹了如何將sharepoint與php連接的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

限時送ChatGPT賬號..

有誰知道如何集成Sharepoint和Php.我正在嘗試開發可以連接到 Sharepoint 的 php 應用程序.特別是因為基本上我是網站開發人員,我希望我的所有網站都與 Sharepoint 連接.所以,我只想創建 PHP 應用程序,使其適用于所有網站.我不知道是否可行,但我想嘗試一下,但不知道如何進行.

歡迎提出任何想法/建議.

提前致謝.

解決方案

試試這個 API

在 SharePoint 中

下載 WSDL.通常在這個位置:/subsite/_vti_bin/Lists.asmx?WSDL

下載 API

確保同時保存 SoapClientAuth.phpSharePointAPI.php

在 PHP 中

//0: 在你的 php 腳本中包含 api.require_once('SharePointAPI.php');//1: 連接到 SharePoint$sp = new SharePointAPI('<用戶名>', '<密碼>', '');//2: 讀取列表$listContents = $sp->read('');//3: 現在你有了一個可以在 PHP 中使用的二維數組foreach($listContents 作為 $item){var_dump($item);}

通過這個API,您還可以查詢、更新、創建、刪除列表,查詢列表元數據

Do anyone know how to integrate Sharepoint and Php. I am trying to develop php app which can connect to Sharepoint.In particular since basically I am website developer, I want my all websites to be connected with Sharepoint. So, simply I want to create Php app such that it works for all the websites. I don't know is it possible or not but I want to give it a try but don't know how to proceed.

Any idea/suggestions is welcome.

Thanks in advance.

解決方案

Try this API

In SharePoint

Download the WSDL. Usually at this location: <sharepoint.url>/subsite/_vti_bin/Lists.asmx?WSDL

Download the API

Make sure to save both SoapClientAuth.php and SharePointAPI.php

In PHP

// 0: include api in your php script.
require_once('SharePointAPI.php');

// 1: connect to SharePoint
$sp = new SharePointAPI('<username>', '<password>', '<path_to_WSDL>');

// 2: read a list
$listContents = $sp->read('<list_name>'); 

// 3: now you have a 2-D array to work with in PHP
foreach($listContents as $item)
{
    var_dump($item);
}

With this API, you can also query, update, create, delete lists, query list metadata

這篇關于如何將sharepoint與php連接的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Add programmatically a downloadable file to Woocommerce products(以編程方式將可下載文件添加到 Woocommerce 產品)
Get today#39;s total orders count for each product in Woocommerce(獲取今天 Woocommerce 中每種產品的總訂單數)
Add Custom registration fields in WooCommerce and phone field validation issue(在 WooCommerce 和電話字段驗證問題中添加自定義注冊字段)
Add a select field that will change price in Woocommerce simple products(在 Woocommerce 簡單產品中添加一個將更改價格的選擇字段)
Add custom columns to admin products list in WooCommerce 3(在 WooCommerce 3 中將自定義列添加到管理產品列表)
Customizing checkout quot;Place Orderquot; button output html(自定義結帳“下訂單按鈕輸出html)
主站蜘蛛池模板: 特级毛片爽www免费版 | 久久综合久| 一区二区三区在线观看视频 | 久久夜色精品国产 | 精品国产黄a∨片高清在线 www.一级片 国产欧美日韩综合精品一区二区 | 亚洲精品一区在线观看 | 国产精品久久久亚洲 | 国产日韩一区二区三区 | 欧美在线成人影院 | 亚洲欧美国产毛片在线 | 亚洲视频一区二区三区 | 99亚洲精品视频 | 欧美一区二区三区 | h片在线观看网站 | 成人免费影院 | 精品九九 | 性天堂网 | 久久久久综合 | 久久综合成人精品亚洲另类欧美 | 99精品网| 亚洲精品电影在线观看 | 色视频在线观看 | av喷水| 免费午夜电影 | 一级特黄网站 | 中文在线视频观看 | 久久一日本道色综合久久 | 欧美视频福利 | 日韩 国产 在线 | 国产四区 | 欧美日韩国产在线观看 | 性在线| 亚洲传媒在线 | 韩国av网站在线观看 | 亚洲欧美一区二区三区视频 | 91精品国产色综合久久不卡98 | 爱爱无遮挡 | 亚洲视频在线看 | 国产精品乱码一区二三区小蝌蚪 | 成人午夜电影在线观看 | 91麻豆精品国产91久久久更新资源速度超快 |