What build level is your farm?
Regards, Paul Turner MCT, MCPD: Enterprise, MCSD, MCDBA, MCTS, MSF, Microsoft vTSP Consultant M: 0412 748 168 A: 66 Henley Beach Road, Mile End SA 5031 E: [email protected]<mailto:[email protected]> W: www.dws.com.au<http://www.dws.com.au/> This email and any files transmitted with it are confidential and are only for the use of the person to whom they are addressed. If you are not the intended recipient you have received this email in error and are requested to delete it immediately. Any opinion expressed in this e-mail may not necessarily be that of DWS Pty Ltd. Please consider the environment before printing this email. From: [email protected] [mailto:[email protected]] On Behalf Of Paul Noone Sent: Tuesday, 25 May 2010 1:41 PM To: ozMOSS Subject: RE: UpdateListItems web service I have done. But they're not required. Just hitting the Title column correctly updates the others, as you would expect. The issue is that it only updates either the default view, or the view specified with the ViewName attribute when it's used. I could specify the NewStarters view shown below but then the AllItems.aspx (and any other views) would not be updated. It seems nuts to me that a view is required for a list item update. Hoping I can be provide wrong about this. Regards, Paul From: [email protected] [mailto:[email protected]] On Behalf Of Paul Turner Sent: Tuesday, 25 May 2010 2:05 PM To: ozMOSS Subject: RE: UpdateListItems web service Dumb question... but can you also include the other fields in the Batch? i.e. <Batch OnError="Continue" ListVersion="1"> <Method ID="1" Cmd="New"> <Field Name="ID">New</Field> <Field Name="Title">Martin</Field> <Field Name="LinkTitle">Martin</Field> <Field Name="LinkTitleNoMenu">Martin</Field> </Method> </Batch> Regards, Paul Turner MCT, MCPD: Enterprise, MCSD, MCDBA, MCTS, MSF, Microsoft vTSP Consultant M: 0412 748 168 A: 66 Henley Beach Road, Mile End SA 5031 E: [email protected]<mailto:[email protected]> W: www.dws.com.au<http://www.dws.com.au/> This email and any files transmitted with it are confidential and are only for the use of the person to whom they are addressed. If you are not the intended recipient you have received this email in error and are requested to delete it immediately. Any opinion expressed in this e-mail may not necessarily be that of DWS Pty Ltd. Please consider the environment before printing this email. From: [email protected] [mailto:[email protected]] On Behalf Of Paul Noone Sent: Tuesday, 25 May 2010 1:09 PM To: ozMOSS Subject: RE: UpdateListItems web service 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
