accessing zclass properties
I have ZClass MyZClass in product MyProduct. MyZClass defines property sheet MyZClass_properties. One of the properties is a list (named 'MyList') with values 1, 2, 3 (3 numbers). I need to access that list from my TTW python script elsewhere in the system. I've noticed that I can't import "Products.MyProduct". Is there some other way to get at the data stored in the MyList property? I don't want to have to define my selection data twice. - Rocky (r0ky)
Rocky Burt wrote at 2003-2-6 17:22 -0500:
I have ZClass MyZClass in product MyProduct. MyZClass defines property sheet MyZClass_properties. One of the properties is a list (named 'MyList') with values 1, 2, 3 (3 numbers).
I need to access that list from my TTW python script elsewhere in the system. I've noticed that I can't import "Products.MyProduct". Try to access it via "container.Control_Panel.Products.MyProduct....".
Look at the URL used in the ZMI to find out the correct path. Dieter
participants (2)
-
Dieter Maurer -
Rocky Burt