Hello,
I'm using the tool "portal_metadata" in order to fix a policy of metadata for my site.
But i have a problem :
- I'm making a DTML form wich allow my users to modify the Elements of the "portal_metadata" instance
- In this DTML form, i get the list of metadata elements by using : "portal_metada.listElementSpecs()" ==> Ok
- I want to access (and to modify) the detail of these elements by using :
* portal_metadata.getElementSpec(element='My metadata').isRequired()
* portal_metadata.getElementSpec(element='My metadata').isMultiValued()
* etc....
==> It doesn't work, Zope says "You are not authorized to access isMultiValued", but i'm "Manager" what does it mean ?
From the ZMI, the form "metadataElementPolicies.dtml" (of CMFDefault) does the same thing, and it's work.... Why ?
Thanks in advance.
Excuse my english.... ;-)
Fred.