Are those two columns 'undefined' for all rows that you retrieve from the List 'riskmap_master'... Or only some rows have those two columns 'undefined' while others have other data on them? I'm just trying to determine if those
two field display OK for some rows and not others...
Could you paste the XML being returned by the GetListItems operation? Looking at the XML may help me help you :)
Also,
Run this from your page or from the browser developer tool (IE) or Firebug while on the page containing your code above:
$().SPServices({ operation: "GetList", listName: "riskmap_master", completefunc: function(xData, Status) { console.log(xData.responseText); $(xData.responseXML).find("Fields > Field").each(function() {var $node = $(this); console.log( "Type: " + $node.attr("Type") + " StaticName: " + $node.attr("StaticName") ); }); } });
This will output the list definition along with all of the fields currently defined for your list along with their static name to the console (taken from the GetList documentation page.
Paul