<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML DIR=ltr><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"></HEAD><BODY><DIV><FONT face='Arial' color=#000000 size=2>I'm building a class (Site) that contains a Folder (Called 
screenshots) in which I will be storing instances of a class I've built called 
ScreenShot.&nbsp; The problem is that I can't figure out how to make the Folder 
interface in the ZMI limit the instance types to ScreenShot.&nbsp; In the Site 
class __init__ method, I have :</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
OFS.Folder.manage_addFolder(self, 'screenshots', 'Screen 
Shots')<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
self.screenshots.meta_types=('ScreenShot')<BR></DIV>
<DIV>However, this isn't working.&nbsp; I looked into the Folder class, and 
discovered that it's base class ObjectManager has a class property (not 
instance) called meta-types that is a tuple.&nbsp; do I need to sub-class Folder 
and set meta_types at the class level ?&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>Russell Fine</DIV></BODY></HTML>