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

Deiverson Silveira deiverson at solutioncms.com
Wed Jul 9 15:26:31 CEST 2008


Hi Florian Hopf,

Work 100% wonderfull!

Thank you very much!

Deiverson Silveira

> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080709/4ade6ff6/attachment.htm>


More information about the opencms-dev mailing list