Re: Plone Metadata
Steve McMahon <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <CAOqzbgjcHwnYw-Up=qOJRyoDa+VbSW_hotSb0CKUark3fYFY2w@mail.gmail.com> |
Are you wishing to add fields that will show up in edit forms? Or, just adding attributes to objects? If the latter, just do it. Simple data types like strings may be added via Python attribute notation and will automatically persist. You may need to explicitly commit the transaction if it isn't occurring within a request. Compound data types (lists, dictionaries) don't automatically persist their components. But the ZODB has great support: http://zodborg.readthedocs.org/en/latest/documentation/articles/ZODB2.html If you want to add editable fields to existing content types, then extend the schema of the content type. For Archetypes content types, use archetypes SchemaExtender. For Dexterity types, just edit the schema. On Sun, Oct 12, 2014 at 3:17 PM, Percy Barboza <[email protected]> wrote: > Hi > > How do we add more attributes to an object for Plone. I actually mean > attributes > > Regards > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://p.sf.net/sfu/Zoho > _______________________________________________ > Plone-Users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/plone-users > > ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://p.sf.net/sfu/Zoho _______________________________________________ Plone-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plone-users