1. 对于Lookup Field,Caml 语句如下:

<Query>

 <Where>

    <Contains>   

      <FieldRef Name="AlertLocation" LookupId="TRUE" />

      <Value Type="text">1</Value>

    </Contains>

 </Where>

</Query>

  “1”代表 ID, Lookup List Item ID

 

2. 如果没有Filter出来, 可以考虑把Name="AlertLocation" 换成 Name="{xxxxx-xxxxx....}"

也就是说把Column Name 换成Column ID。

 

 

相关文章:

  • 2021-06-07
  • 2021-12-08
  • 2022-12-23
  • 2021-09-11
  • 2022-12-23
  • 2021-06-08
  • 2021-08-24
  • 2021-04-07
猜你喜欢
  • 2021-10-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-03
  • 2022-12-23
  • 2021-05-20
相关资源
相似解决方案