[opencms-dev] Publish NEW resources
Christian Steinert
christian_steinert at web.de
Thu Sep 21 23:25:42 CEST 2006
Andy Bicksbo schrieb:
> Hi all
> Does somebody know, how to publish a NEW resource through an api method?
> I normally oublish resouces with cmsObject.publishResource(string
> path), but this doesn't work for new ones, it seems.
> (got the error message that cannot direct publish cause folder is new)
> Do I may need to do this with a CmsPublishList?
> Hope to get a solution for this
> Yours Andy
If the folder is new, then you have to publish the complete folder.
Opencms cannot publish a page, if the folder where it is contained is
not published.
c.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060921/83eaf4d0/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3269 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060921/83eaf4d0/attachment.bin>
More information about the opencms-dev
mailing list