[opencms-dev] How can create new folder via API OpenCMS? Sample?

Florian Hopf hopf at synyx.de
Wed Jul 9 07:36:57 CEST 2008


Hi,

Deiverson Silveira schrieb:
> How can create new folder via API OpenCMS? Sample?
>

Try something like this (cms is of type CmsObject):

cms.createResource(folder, CmsResourceTypeFolder.getStaticTypeId());

Regards
Florian




More information about the opencms-dev mailing list