WTF [Why The Face]?! I am now ready and poised to cause extreme prejudice upon the corporeal form of the person(s) responsible for documenting this method.
I've just confirmed that the problem is not with the Title field at all. It's with the [optional] ViewName attribute that the Batch element can take. ViewName Optional Guid. Specifies the GUID for the view. e.g. <Batch OnError="Continue" ViewName="270C0508-A54F-4387-8AD0-49686D685EB2"> If ViewName is not explicitly provided then the default view will be used. But it is also the ONLY view which is updated! Figure 1 - Default list view [cid:[email protected]] Figure 2 - Other view(s) [cid:[email protected]] Can someone please explain how it is possible to create a new list item in one view and not another? And why the heck you'd want to? Any links to a comprehenive reference for this element would be much appreciated. And I don't mean http://msdn.microsoft.com/en-us/library/ms437562(v=office.12).aspx. :\ Regards, Paul From: [email protected] [mailto:[email protected]] On Behalf Of Paul Noone Sent: Tuesday, 25 May 2010 8:10 AM To: ozMOSS Subject: RE: UpdateListItems web service Yes. It is! But has anyone else encountered this before, or is it just me? Is the solution to update one or all of the other Title columns? Keen for feedback. I'm sure I'm not the first to try this and the MS docs provide little help. Regards, Paul Online Developer, ICT CEO Sydney From: [email protected] [mailto:[email protected]] On Behalf Of Nigel Witherdin Sent: Friday, 21 May 2010 7:17 PM To: OzMoss Subject: RE: UpdateListItems web service what a bugger! ________________________________ From: [email protected] To: [email protected] Date: Fri, 21 May 2010 10:23:30 +1000 Subject: UpdateListItems web service Hi all, I'm using the following within a SOAP envelope to create a list item using the UpdatelistItems web service. <Batch OnError="Continue" ListVersion="1"> <Method ID="1" Cmd="New"> <Field Name="ID">New</Field> <Field Name="Title">Martin</Field> </Method> </Batch> I run it. No errors. I refresh my list. No items. I've been banging my head against a brick wall thinking it wasn't working only to discover that my custom views were using the 'Title' and 'Title (linked to item)' fields while the batch element was only updating the 'Title (linked to item with edit menu)' field! Is this expected behaviour?? Am I expected to update all three of these or there a magic one I should be using which will update all three? Kind regards, Paul Noone --------------------------------------------------- Online Developer Information Communication and Technology Catholic Education Office, Sydney p: (02) 9568 8461 f: (02) 9568 8483 e: [email protected]<mailto:[email protected]> w: http://www.ceosyd.catholic.edu.au/ ________________________________ Get a free e-mail account with Hotmail. Sign-up now.
<<inline: image001.png>>
<<inline: image002.png>>
_______________________________________________ ozmoss mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
