We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5f62ae1 + 2eafb5b commit 73292f2Copy full SHA for 73292f2
office365/sharepoint/caml_query.py
@@ -14,13 +14,13 @@ def __init__(self):
14
@staticmethod
15
def create_all_items_query():
16
qry = CamlQuery()
17
- qry.view_xml = "<View Scope=\"RecursiveAll\"><Query></Query></View>"
+ qry.ViewXml = "<View Scope=\"RecursiveAll\"><Query></Query></View>"
18
return qry
19
20
21
def create_all_folders_query():
22
23
- qry.view_xml = "<View Scope=\"RecursiveAll\"><Query>" \
+ qry.ViewXml = "<View Scope=\"RecursiveAll\"><Query>" \
24
"<Where><Eq><FieldRef Name=\"FSObjType\" /><Value Type=\"Integer\">1</Value></Eq></Where>" \
25
"</Query></View>"
26
0 commit comments