REST API多选字段返回[object object],而不是实际选择-SharePoint Online

REST API多选字段返回[object object],而不是实际选择-SharePoint Online,sharepoint,sharepoint-2010,office365,sharepoint-2013,sharepoint-online,Sharepoint,Sharepoint 2010,Office365,Sharepoint 2013,Sharepoint Online,我有一个RESTAPI,它将多选字段值返回为[object object],而不是实际值 tableContent+=''+ArrayFallData[i].行动由x003a x0020 uuu+执行 _x003a_u的字段操作_x0020_u是Office365中的一个多选字段。我确实尝试过使用ArrayFallData[I].Action\u x0020\u By_x003a.choices.results和ArrayFallData[I].Action\u x0020\u By_x003a

我有一个RESTAPI,它将多选字段值返回为[object object],而不是实际值

tableContent+=''+ArrayFallData[i].行动由x003a x0020 uuu+执行

_x003a_u的字段操作_x0020_u是Office365中的一个多选字段。我确实尝试过使用ArrayFallData[I].Action\u x0020\u By_x003a.choices.results和ArrayFallData[I].Action\u x0020\u By_x003a.results,但它返回了未定义的结果。还使用了一些地图,但不起作用。任何建议都会有帮助


变量ListDataCollection={
清单:[{
Url:“https://dev.sharepoint.com/sites/dev/sites1/_api/web/lists/getbytitle('Employee')/items?$top=5&$orderby=Created desc&$select=Title、Description、Action\u x0020\u By\u x003a\u、RequestFrom\u x003a\u、Created&$filter=Category eq‘关键事件和决策’,
已完成:false
},{
Url:“https://dev.sharepoint.com/sites/dev/sites2/_api/web/lists/getbytitle('Employee')/items?$top=5&$orderby=Created desc&$select=Title、Description、Action\u x0020\u By\u x003a\u、RequestFrom\u x003a\u、Created&$filter=Category eq‘关键事件和决策’,
已完成:false
},{
Url:“https://dev.sharepoint.com/sites/dev/sites3/_api/web/lists/getbytitle('Employee')/items?$top=5&$orderby=Created desc&$select=Title、Description、Action\u x0020\u By\u x003a\u、RequestFrom\u x003a\u、Created&$filter=Category eq‘关键事件和决策’,
已完成:false
}]
};
var tableContent='否'+
'说明'+'由'+'请求执行的'+'操作已创建'+'
'';
函数groupBy(项、属性名称)
{
var结果=[];
$。每个(项目、功能(索引、项目){
if($.inArray(项[propertyName],结果)=-1){
结果推送(项目[propertyName]);
}
});
返回结果;
}
函数RemovedUpplicateItems(items,propertyName){
var结果=[];
$。每个(项目、功能(索引、项目){
if($.inArray(项[propertyName],结果)=-1){
结果推送(项目[propertyName]);
}
});
返回结果;
}
函数ifAllCompleted(){

对于(var i=0;i您的选择列是一个对象。您需要迭代对象的内容。例如,选择字段(不是下拉选择字段)是一个字符串数组

观察/记录变量
arrayOfAllData[i]。通过\u x003a执行的操作\u x0020\u
,您应该能够了解如何迭代数据