This project is read-only.

Resetting field values to empty / null - possible?

May 20, 2010 at 5:10 PM

Hi.

I've recently discovered that the Lists.asmx ignores your attempts to reset a field's value to empty string or null with Lists.UpdateListItems. Not a very well documented limitation discovered by trial and error. 

Can someone advise on the possibility to reset field values using FP RPC / OWSAPI?

Thanks in advance,

Alexey

Coordinator
May 20, 2010 at 7:17 PM

OWSAPI was written to take advantage of the RPC Display method available through a get request (URL string).  You will need to look into the RPC Save method (not implemented the same way): http://msdn.microsoft.com/en-us/library/ms455433.aspx

It looks like the documentation is much better now:
http://msdn.microsoft.com/en-us/library/dd588673%28office.11%29.aspx

And owssvr.dll may support the Save command.  If that's the case, you could create similar JavaScript functions to OWSAPI or make a custom ASPX page to build the request for you.