[Zope-CMF] Re: Creating content type instances with Generic Setup

Tres Seaver tseaver at palladion.com
Fri Aug 25 17:47:45 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Doyon, Jean-Francois wrote:
> Hello,
> 
> Is this possible?
> 
> I would like a given profile to create some content (as opposed to
> tools) at portal creation time.
> 
> My reading so far suggests only toolset.xml and therefore tools and
> related information can be loaded via Generic Setup.
> 
> Am I wrong?  And if not, can anyone suggest an elegant alternative?
> 
> As best I can tell Generic Setup doesn't know about invokeFactory or
> any of that.
> 
> I suppose I could create a tool to do it in 2 steps :)

There is an option to do content import / export.  See
'CMFDefault/profiles/sample_content' for such an add-on profile.

See my CMFFolderExport product for an example of surfacing this
machinery on a folder-by-folder basis:

  http://palladion.com/home/tseaver/software/CMFFolderExport


Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE73AB+gerLs4ltQ4RAo3fAJwOQGP2Dgxsrr+1MIqBrrYbQnZeAwCfbZkv
chqqUpkbLteLhXUlqY1wC3k=
=enEP
-----END PGP SIGNATURE-----



More information about the Zope-CMF mailing list