Thank you so much for this code! I had a problem with the CAMLQuery parameter. I had CAMLQuery: "<Eq><FieldRef Name='Closed'/><Value Type='Boolean'>0</Value></Eq>" and I was getting a javascript error about a missing {. I switched the double and single quotes and it started working. CAMLQuery: '<Eq><FieldRef Name="Closed"/><Value Type="Boolean">0</Value></Eq>', did anyone else have this problem? You might need to switch them in your documentation.
↧