<div>Hi All,</div><div><br></div><div>I am new to Zope, using Zope 2.7 and wrote a &quot;Script Python&quot; to delete objects programatically(used for bulk delete). </div><div><br></div><div>parent.manage_delObjects(id)</div>
<div><br></div><div>After I execute the script using the Test button of the ZMI, the objects are getting deleted properly.</div><div><br></div><div>But in the Undo tab, I am not able to see the transaction history (/mysite/path/manage_delObjects by <b>niv)</b></div>
<div><br></div><div>When I tried to add transaction.commit() the ZMI is asking for credentials. </div><div><br></div><div>1. How do I get the transaction recorded using Script Python?</div><div>2. Are there any other ways to achieve the same?</div>
<div><br></div><div>3. Another issue is, when I tried to invoke the delete Script Python from an external python script using xmlrpc it threw a xmlrpclib.ProtocolError 401 Unauthorized Error. Is it because there is a manage_delObjects call? </div>
<div><br></div><div>Regs,</div><div>Niv</div><div><br></div>