久久久久久久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)
主站蜘蛛池模板: 欧美成人精品二区三区99精品 | 国产精品久久精品 | 伊人久久在线 | 欧美日韩在线免费观看 | 成年视频在线观看福利资源 | 国产高清精品一区 | 精品国产一区二区三区久久狼黑人 | 亚洲欧美日韩在线 | av天天爽| 亚洲天堂久久 | 亚洲美女一区 | 欧美6一10sex性hd | 国产精品成人在线 | 日日碰狠狠躁久久躁96avv | 国产污视频在线 | 午夜久久| caoporn免费在线视频 | 中文字幕 视频一区 | 日本精品久久久久 | 成人在线一级片 | 在线成人 | 一级黄色片免费在线观看 | 视频一区二区中文字幕 | 国产98色在线 | 日韩 | 中文精品视频 | 久草成人网 | 日韩精品免费在线观看 | 狠狠伊人 | av在线一区二区三区 | 狠狠的干| 日本视频免费观看 | 成人h动漫亚洲一区二区 | 二区亚洲 | 成人一区二区三区 | 中文字幕在线观看精品 | 91手机精品视频 | 女同久久 | 亚洲精品视频二区 | 日本天堂一区 | 国产在线拍偷自揄拍视频 | 久久91视频 |