RE: UpdateListItems web service

2010-05-24 Thread Paul Noone
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:image001.png@01CAFC0E.F8D43940]


Figure 2 - Other view(s)
[cid:image002.png@01CAFC0F.A2F69B20]

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: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] 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: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Nigel Witherdin
Sent: Friday, 21 May 2010 7:17 PM
To: OzMoss
Subject: RE: UpdateListItems web service

what a bugger!


From: paul.no...@ceosyd.catholic.edu.au
To: ozmoss@ozmoss.com
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=IDNew/Field
Field Name=TitleMartin/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: paul.no...@ceosyd.catholic.edu.aumailto:paul.no...@ceosyd.catholic.edu.au
w: http://www.ceosyd.catholic.edu.au/



Get a free e-mail account with Hotmail. Sign-up now.
inline: image001.pnginline: image002.png___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: UpdateListItems web service

2010-05-21 Thread Nigel Witherdin

what a bugger!
 


From: paul.no...@ceosyd.catholic.edu.au
To: ozmoss@ozmoss.com
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=IDNew/Field
Field Name=TitleMartin/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: paul.no...@ceosyd.catholic.edu.au
w: http://www.ceosyd.catholic.edu.au/
  
_
http://clk.atdmt.com/UKM/go/195013117/direct/01/
___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss