2

Closed

API change for roboCAML.BatchCMD

description

In it's current state (which isn't here), BatchCMD accepts an array that looks like:
 
[[ { ID: $node.attr("ows_ID") }, "Status", Statuses[NOT_SELECTED] ]]
 
This seems a bit confusing and should include the batchCMD for every Method.
Proposed change:
 
[ [{ ID: $node.attr("ows_ID"), batchCMD: "Update', valuePairs: ["Status", Statuses[STATUS_UNDONE], "Description", "Something has been said here"] }] ]
 
This just feels cleaner and will allow for flexibility within building a batch with multiple Methods.
Closed Feb 10, 2012 at 3:32 AM by iOnline247
This has been added in the 0.3 version.

comments

iOnline247 wrote Feb 1, 2012 at 3:52 AM

Added into the initial release. Will push to SVN in a couple of days.

wrote Feb 10, 2012 at 3:32 AM

wrote Feb 13, 2013 at 6:22 PM

wrote May 16, 2013 at 2:43 AM