[Product-Developers] Best practice for portal tools now-a-days?

Andreas Jung lists at zopyx.com
Wed Nov 19 14:26:07 UTC 2008

On 19.11.2008 15:12 Uhr, Espen Moe-Nilssen wrote:
> Is there somewhere I can learn how to do this?? (store settings in
> /properties)

Creating a dedicated propertysheet is trivial:

     p = self.portal_properties
     p.addPropertySheet('srmedia', 'SR Media related properties')
     p = getattr(self.portal_properties, 'srmedia')
     p.manage_addProperty('MEDIADB_ID', MEDIADB_ID, 'string')
     p.manage_addProperty('CONTENT_ID', CONTENT_ID, 'string')

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20081119/df93e15c/attachment.vcf>

More information about the Product-Developers mailing list