CAML JOIN和Sharepoint REST API [英] CAML JOIN and Sharepoint REST API

查看:154
本文介绍了CAML JOIN和Sharepoint REST API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello

我有一个问题与在REST API中使用CAML查询有关。我想加入两个列表,但响应不包含必填字段。

I have question linked with using CAML queries in REST API. I want to join two lists but response doesn't contain required fields.

是否可以在REST API中的CAML查询中使用JOIN?

Is it possible to use JOIN in CAML queries in REST API?

推荐答案

您好Amelie,

Hi Amelie,

不支持CAML查询像SQL一样加入,CAML查询不支持。

CAML Query not supported Join like SQL, it's not supported by CAML Query.

以下是一个类似的帖子供您参考:

Here is a similiar thread for your reference:

如何使用CAML查询在两个sharepoint自定义列表之间创建连接?

使用CAML连接两个列表然后查询的解决方法是使用查找字段,然后查询查找字段从其他列表中获取数据。

A workaround to join two list and then query with CAML is using lookup field, then query the lookup field get the data from other list.

谢谢

最好的问候


这篇关于CAML JOIN和Sharepoint REST API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆