[Zope] Creating Document with random num as ID?

Craig Allen cba@mediaone.net
Thu, 15 Apr 1999 22:56:43 -0400


This is a multi-part message in MIME format.
--------------3D6DDCBB5EBF30BC1DE75DB0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I need to create DTML Documents with a [pseudo]unique [pseudo]random
id.  I can create the objects okay using manage_clone, and I have a
method that generates my "unique" "random" id, but I can't seem to
create either:
  a) create the object and then rename it using the random number, or
  b) [more desirable] create the object with the random id.

Ideas?  Thanks.
--------------3D6DDCBB5EBF30BC1DE75DB0
Content-Type: text/x-vcard; charset=iso-8859-1;
 name="cba.vcf"
Content-Transfer-Encoding: base64
Content-Description: Card for Craig Allen
Content-Disposition: attachment;
 filename="cba.vcf"

YmVnaW46dmNhcmQgCm46QWxsZW47Q3JhaWcKdGVsO2hvbWU6NzgxLTY0Ny0zNTk5CnRlbDt3
b3JrOjc4MS02OTQtOTQwMCB4IDgyNzIKeC1tb3ppbGxhLWh0bWw6VFJVRQp1cmw6aHR0cDov
L2FsY2hlbXkubnUKb3JnOk11dHVhbCBBbGNoZW15CmFkcjo7OzMyMiBCYWNvbiBTdAk7V2Fs
dGhhbTtNQTswMjQ1MS03NTE1O1VTQQp2ZXJzaW9uOjIuMQplbWFpbDtpbnRlcm5ldDpjYmFA
bWVkaWFvbmUubmV0CnRpdGxlOk1hbmFnaW5nIFBhcnRuZXIKeC1tb3ppbGxhLWNwdDo7LTQ0
ODAKZm46Q3JhaWcgQWxsZW4KZW5kOnZjYXJkCg==
--------------3D6DDCBB5EBF30BC1DE75DB0--