Trying to update a list items Author/Editor and the DateTime

Oct 8, 2014 at 12:50 AM
Edited Oct 8, 2014 at 12:50 AM
I'm trying to figure out if it's possible to update these fields below using the UpdateListItems operation?

These are the value pairs I tried:
["AssignedTo", "630;#Firstname Lastname"] or ["AssignedTo", "630;i:0#.w|itun\\firstname_lastname"]
["Author", "630;#Firstname Lastname"],                  
["Created",  "2013-10-15 14:38:32"],
["Editor", "630;#Firstname Lastname"],
["Modified", "2014-10-6 13:13:13"]
Additionally, I've noticed that i'm having trouble updating multitext fields when they contain HTML tags like <div><p> etc. Is this normal?
Oct 10, 2014 at 2:54 PM
Sorry I didn't get back to you. The easiest way to update a Person or Group field is to just use the ID.

In my test site, I'm user 9, and this updates the Sales Rep column to me:
  operation: "UpdateListItems",
  listName: "Sales Opportunities",
  ID: 2,
  valuepairs: [["Sales_x0020_Rep", "9"]]
Oct 10, 2014 at 2:55 PM
Also, you can't update the Author, Created, Editor, or Modified columns. Those are system-maintained.

Oct 10, 2014 at 3:37 PM
Edited Oct 10, 2014 at 3:41 PM
Hey no worries, I'm sure you're really busy with other stuff plus everything I do would take significantly longer if it weren't for SPServices so thanks for that :)

Anyways, I'll give it a shot, I'm just glad it can be done, should solve some big issues for me.

Thanks again.