我正在创建一个PHP Web应用程序/站点。我需要在 sharepoint 列表中存储一些数据并检索它们以显示在 Web 应用程序/网站上。有什么办法可以做到这一点吗
你可以检查这个 API:
用法:
use ThybagSharePointAPI;
$sp = new SharePointAPI('<username>', '<password>', '<path_to_WSDL>');
从列表中读取:
$sp->read('<list_name>');
查询列表:
$sp->query('list of pets')->where('type','=','dog')->and_where('age','<','5')->sort('age','ASC')->get();
添加到列表:
$sp->write('<list_name>', array('forename'=>'Bob','surname' =>'Smith', 'age'=>40, 'phone'=>'(00000) 000000' ));
和许多其他选项,您可以在上面的链接中签入。