CAML Batch size
From: Rene (anonymous_at_discussions.microsoft.com)
Date: 02/22/05
- Next message: Suz1957: "Capturing IMs in a WSS Threaded discussion"
- Previous message: Daniel Larson (www.portalbuilder.org): "RE: Adding news programatically"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 22 Feb 2005 05:34:59 -0800
Hi there,
I'am using a Caml batch to insert multiple items into a
list and works, but when the batch is getting larger I get
an error. I'am using the following code to post.
var objHTTP = new ActiveXObject("Microsoft.XMLHTTP");
objHTTP.open("POST" , strCAML, false);
objHTTP.setRequestHeader("Content-Type" , "application/x-
www-form-urlencoded");
objHTTP.setRequestHeader("X-Vermeer-Content-
Type", "application/x-www-form-urlencoded");
objHTTP.setRequestHeader("Content-Length", intLenRequest);
objHTTP.send();
The response is loaded in a xml doc which has the .async
property on false.
var objDoc = new ActiveXObject("Microsoft.XMLDOM");
objDoc.async = false;
objDoc = objHTTP.responseXML;
Is there a maximum length for the CAML Batch or maybey in
the spWeb?
Thanks in advance
René
- Next message: Suz1957: "Capturing IMs in a WSS Threaded discussion"
- Previous message: Daniel Larson (www.portalbuilder.org): "RE: Adding news programatically"
- Messages sorted by: [ date ] [ thread ]