From d2caaef4bdf5eb821abf92ccb45cca8085928e9d Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Mon, 20 Dec 2010 21:41:46 +0000 Subject: [PATCH] XS-update operation is recordDelete, not deleteRecord. Specify target using record=>$record rather than recordIdOpaque=>$id. --- samples/zoom/zoom-delete-records | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/zoom/zoom-delete-records b/samples/zoom/zoom-delete-records index dbb584b..5c65d29 100755 --- a/samples/zoom/zoom-delete-records +++ b/samples/zoom/zoom-delete-records @@ -29,8 +29,8 @@ foreach my $i (1 .. $n) { my $id = ZOOM_record_id($rs, $i); print " DELETE $id"; my $p = $conn->package(); - $p->option(action => "deleteRecord"); - $p->option(recordIdOpaque => $id); + $p->option(action => "recordDelete"); + $p->option(record => $xml); $p->send("update"); $p->destroy(); } -- 1.7.10.4