CAML query that includes folders in result set

前端 未结 7 1879
孤街浪徒
孤街浪徒 2020-12-16 01:29

I\'m trying to write a CAML query that executes against a specific SPList, scoped to a specific folder, recursive from that point, and returns all ListItems (which meet a cr

7条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-16 02:17

    If I remove the other conditions from the query, only leaving the FSObjType=1, I get a COM exception "Cannot complete this action. Please try again."

    Did you remove the tags when you did this? If not it will not run correctly.

    Regardless, that does not solve your problem. Have you tried leaving the query empty? Does it return anything?

    I have been working on something similar and ran into an issue as well, perhaps it's somewhat related.

提交回复
热议问题