I manage a request list in SharePoint 2013, and I need to import some requests from another list. However, I want to keep the original request date rather than have SharePoint assign the current date/time that I upload the requests, so I want to change the default Created date field. I got this to work for a date column that I added:
var duedate = new Date(2015,01,11).toISOString();
$().SPServices({
operation: UpdateListItems,
async: false,
listName: Requests,
ID: 5,
valuepairs: [[DueDate, duedate]],
completefunc: function (xData, Status) {
}
});
It doesn't work for the Created field though - I think because it's read only. I need a way to make the Created field editable so I can change the date. I have a lot of code already written that references this column so I would rather not make a new column that defaults to Created unless changed.
Bonus: my next task will be to change the default Author field so hopefully the solution can also make that field editable.