使用CAML sharepoint 2013的子父查询 [英] Child Parent Query using CAML sharepoint 2013
问题描述
我的列表中有这样的数据
我想查询"isDeleted"根据其父ID
为所有孩子设为true,就像我们在sqlserver中通常所做的那样......我想在这里做同样的事情
需要帮助
谢谢
我在"ID"中理解column是父ID,而"IsParent"是将基于ID列来建立父子关系。
这个要求不能在单个列表中实现,我建议使用另一个列表来存储"IsParent"。字段然后在CAML中使用加入操作,类似于SQL:
谢谢
最好的问候
Hi,
my list having data like this
I want to query to "isDeleted" make true for all child according to its parent ID
as we usually do in sqlserver ...same thing I want to do here
need help
Thanks
Hi,
I understand in the "ID" column is the Parent ID and for "IsParent" will based on the ID column to make parent-child relationship.
This requirement can't be achieved in a single list, I would suggest to use another list to store the "IsParent" field and then use Join action in CAML which like SQL:
How to work CAML Joins like SQL Joins?
Thanks
Best Regards
这篇关于使用CAML sharepoint 2013的子父查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!