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

updatelistitems .. text field not passing data

May 15, 2014 at 6:18 PM
I have a strange anomaly. I am consuming a multiline text column with GetListItems that passes to UpdateListItems to create the data in a duplicate column in another list. 71 out of 72 pass data with no issue. The one that does not pass has a paragraph space when looking at the traffic. Any ideas? Has anyone experienced something similar?
May 15, 2014 at 6:21 PM
You may need to escape certain characters for the write. For instance, the & character becomes &

May 15, 2014 at 6:47 PM
That is it ... but don't you have something in spservices that handles this?
May 15, 2014 at 7:12 PM
You can use STSHtmlEncode. It's a global function that is a part of SP. You should probably roll your own, so this wont create a problem for you when/if that function is removed.

May 15, 2014 at 7:48 PM
Thank you Marc & Matthew!