如何在sharepoint的列表日历上发送插入行的值设施? [英] How to send value facilities for insert row on list calendar of sharepoint?
问题描述
我正在尝试在SharePoint 365上开发有关Calendar对象的内容。我有关于无法插入字段资源的问题设备哪个字段依赖于SharePoint上的另一个列表。
如何解决问题?我是用PHP开发的。
I'm trying develop on SharePoint 365 about Calendar object. I have problem about can't insert field resource Facilities which field dependent another list on SharePoint.
How to solve problem? I was development by PHP.
$Facilities = array('ID' => 'xxx', 'TITLE' => 'Room Name');
$itemProperties = array(
'Title' => $Subject,
'RoomName' => $RoomName,
'Facilities' => array( 'results' => $Facilities),
);
从JSON阅读器读取时发现了一个意外的'StartObject'节点。预计会出现'StartArray'节点。
An unexpected 'StartObject' node was found when reading from the JSON reader. A 'StartArray' node was expected.
推荐答案
根据您的描述,您正在使用允许多个值的查找字段,格式应该是(不要错过) Id):
数组表示父项ID。
" FacilitiesId":{" results":[1,3]}
我不是PHP开发人员,因此请确保您的项目数据构建为演示。
最好的问候,
Lee
这篇关于如何在sharepoint的列表日历上发送插入行的值设施?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!