Skip to content

Commit 73292f2

Browse files
authored
Merge pull request vgrem#87 from timurgen/patch-1
Update caml_query.py
2 parents 5f62ae1 + 2eafb5b commit 73292f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: office365/sharepoint/caml_query.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ def __init__(self):
1414
@staticmethod
1515
def create_all_items_query():
1616
qry = CamlQuery()
17-
qry.view_xml = "<View Scope=\"RecursiveAll\"><Query></Query></View>"
17+
qry.ViewXml = "<View Scope=\"RecursiveAll\"><Query></Query></View>"
1818
return qry
1919

2020
@staticmethod
2121
def create_all_folders_query():
2222
qry = CamlQuery()
23-
qry.view_xml = "<View Scope=\"RecursiveAll\"><Query>" \
23+
qry.ViewXml = "<View Scope=\"RecursiveAll\"><Query>" \
2424
"<Where><Eq><FieldRef Name=\"FSObjType\" /><Value Type=\"Integer\">1</Value></Eq></Where>" \
2525
"</Query></View>"
2626
return qry

0 commit comments

Comments
 (0)