Skip to main content
13 events
when toggle format what by license comment
Apr 4, 2017 at 13:10 comment added Gennady G As I understand "context.load(listItem);" is the key here? Thank You much!
Apr 24, 2014 at 12:41 comment added Vadim Gremyachev Great, glad this helped you :)
Apr 24, 2014 at 12:27 vote accept Timon
Apr 24, 2014 at 12:27 comment added Timon YES! This is working great thank you. Problem Solved.
Apr 24, 2014 at 11:30 comment added Vadim Gremyachev Still works for me, anyway i strongly recommend you to refactor your code, please find my updated answer (section How to create List Item via CSOM)
Apr 24, 2014 at 11:27 history edited Vadim Gremyachev CC BY-SA 3.0
added 1274 characters in body
Apr 24, 2014 at 10:02 comment added Vadim Gremyachev Hmm, let me check it again, will get back to you..
Apr 24, 2014 at 10:01 comment added Timon And success methode function success() { console.log(entry.get_id()); }
Apr 24, 2014 at 10:00 comment added Timon this.entry = webList.addItem(entryCreationInformation); this.entry.set_item("JobCode", jobCode); this.entry.set_item("ClientName", prestation); this.entry.set_item("DateMonth", dateMonth); this.entry.set_item("Heure", parseFloat($(this).find("input").val())); this.entry.update(); context.load(this.entry); context.executeQueryAsync(success, fail);
Apr 24, 2014 at 10:00 comment added Timon I got "entry is undefined" when i do this, there's no typo. I've made entry a global variables. This is how it looks like after changing to what you suggested:
Apr 23, 2014 at 15:32 comment added Vadim Gremyachev Tested and it works for me
Apr 18, 2014 at 7:00 comment added Timon I've tried this and it doesn't work
Apr 16, 2014 at 19:13 history answered Vadim Gremyachev CC BY-SA 3.0