[Zope] Exporting zodb data (Urgent)
Sukhwinder Singh
ssruprai@hotmail.com
Tue, 1 Jul 2003 11:30:00 -0700
Thanks for trying to help me.
On Monday, June 30, 2003 1:13 PM Paul Winkler wrote:
>When you point at an icon in the ZMI, you normally get a tooltip showing
>the meta_type of the Product. This identifies the product. You have
>a folder of type "Folder w/Customizer Support"; what about these person-at-
>desk icons? what tooltip do you get for those?
I have already wrtten that icon of person-at-desk shows word "specialist"
>When you know the meta_type of the product, go to the zope root, click on
>Control Panel, then click on Product Management. There should be items
there
>with similar names to what you see in the tooltips.
>You might even want to paste the whole list in a message here - we're
familiar
>with the standard products, we could then guess which ones look like they
were
>added for your application.
There are many products listed here. Product I am interested in is named
school with icon of an open box.
Other products are with closed box icon. Here is the complete list:
ArmTriggersHack (Installed product ArmTriggersHack) 2001-12-13 11:33
-->School 2003-03-17 16:49
ExternalMethod (Installed product ExternalMethod (External
Method-1-0-0)) 2001-12-13 11:33
LoginManager (Installed product LoginManager (LoginManager-0-8-8b1))
2001-12-13 11:33
MIMETools (Installed product MIMETools) 2001-12-13 11:33
MailHost (Installed product MailHost (MailHost-1-2-0)) 2001-12-13
11:33
OFSP (Installed product OFSP (OFSP-1-0-0)) 2001-12-13 11:33
PatchMiniDom (Installed product PatchMiniDom) 2001-12-13 11:33
PlugIns (Installed product PlugIns (PlugIns-0-4-3p1)) 2001-12-13
11:33
PluginIndexes (Installed product PluginIndexes) 2003-03-17 15:58
PythonScripts (Installed product PythonScripts (PythonScripts-2-0-0))
2001-12-13 11:33
SiteAccess (Installed product SiteAccess (SiteAccess-2-0-0))
2001-12-13 11:33
StandardCacheManagers (Installed product StandardCacheManagers
(StandardCacheManagers-1-1-0)) 2001-12-13 11:33
TransactionAgents (Installed product TransactionAgents
(TransactionAgents 0.0.1)) 2001-12-13 11:33
ZCatalog (Installed product ZCatalog (ZCatalog-2-2-0)) 2001-12-13
11:33
ZGadflyDA (Installed product ZGadflyDA) 2001-12-13 11:33
ZODBCDA (Installed product ZODBCDA) 2003-03-21 10:15
ZPatterns (Installed product ZPatterns
(ZedPatterns-0-4-3p2-transactionagents)) 2001-12-13 11:33
ZSQLMethods (Installed product ZSQLMethods) 2001-12-13 11:33
ZopeTutorial (Installed product ZopeTutorial (Zope Tutorial 1.0))
> This means that in order for you to use an attribute of
> a result object, the catalog must be configured to keep this data
> about this object. This is done on the Metadata tab of the catalog
> instance.
> So, go to one of these Catalogs, click on it, then click the
> Metadata tab. You should see that there is a Metadata entry for
> all the attributes that are accessed in the external method.
Is cataloge an object which represents the zodb (data.fs) file? How can I
access this in catalog ZMI?
>Is there one Catalog for Employees, one for Students, etc.?
Unless I know what catalog is, I can't answer this question?
>def extract_employees(self):
> catalog = self.path.to.where.the.catalog.lives.Catalog
example path?
>e_id = employee.id
How do you know that there was id attribute?
>certainly not! for that kind of job, acquisition is your friend.
>You could have one external method that calls several functions,
>one for each kind of data to export (employees, etc.), much like
>you have now. Put the external method at the top of the application
>folder tree.
OK I put that external method in root folder then? What external method
should look like? Like that example above?
I think you will eventually solve my problem. I still have 2-3 days.
--Sukhwinder Singh