This project has moved and is read-only. For the latest updates, please go here.

Is this now a default in your library? CAMLViewFields: “<ViewFields Properties=’True’ />

Sep 7, 2014 at 12:24 AM
or do we need to add it in when querying?

thanks for providing us with this great library.

Sep 7, 2014 at 12:32 AM
Not clear if your post is implying that SPServices is setting that attribute or that it should include that attribute as part of the ViewFields tag.

I alway thought that the library does not actually define a value for CAMLViewFields - you have to provide it on input.

Also, according to the MS schema documentation, <ViewFields> Tag Does not have any attributes:

Paul T.

-- Sent from Mobile

Sep 7, 2014 at 4:36 AM
Edited Sep 7, 2014 at 4:37 AM

If you don't specify a value for CAMLViewFields, then nothing is passed. I'm with Paul in wondering why you ask.

BTW, it's easy to check something like this by looking at the SPServices source. I don't think you'll find "Properties=’True’" in there anywhere.