SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In the below code, I'm using SPServices library to get a list item's author's name.

                operation: "GetListItems",
                async: false,
                listName: "MyList",
                CAMLViewFields: "<ViewFields Properties='True' />",
                CAMLQuery: "<Query><Where><Eq><FieldRef Name='ID' /><Value Type='Integer'>" + id + "</Value></Eq></Where></Query>", 
                completefunc: function (xData, Status) {
                    $(xData.responseXML).find("[nodeName='z:row']").each(function() {

Only in IE7 and IE8, it returns null. $(xData.responseXML).find("[nodeName='z:row']").length equals to 0. In other browsers it works fine.

Any ideas?

share|improve this question

Have you posted this on the SPServices forum on Codeplex (

I've never tried to use the Properties='True' attribute for ViewFields with SPServices. Do you get the same behavior if you remove that? The rest of your script looks correct.

share|improve this answer
up vote 0 down vote accepted

Turns out IE7 recognizes my site's URL different than the other browsers. Re-creating the site solved the problem.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.