This project has moved. For the latest updates, please go here.
1
Vote

While using Sp service get operation not getting data of column Created by And Modified By

description

Hi,

I am using get operation and getting all columns data but not getting 'created by' and 'modified by' fields data,can anyone help me in this?

$().SPServices({
                operation: method,
                async: false,                  
                listName: list,

                CAMLQuery: query,
                completefunc: function (xData, Status) { 
                console.log(xData.responseText)

            }
    });


comments

sympmarc wrote Dec 20, 2016 at 2:14 PM

You should use the CAMLViewFields option to specify the columns you would like to request. CreatedBy is "Author" and ModifiedBy is "Editor".

M.