[opencms-dev] Recommended way of importing external resources to VFS ?
zstephanz at gmail.com
Wed Aug 24 16:54:47 CEST 2016
you can create a temporary project before importing the content. This way
only the imported content will be published. We use the following:
createDefaultProject "[Project Name]" "[Description]"
setCurrentProject "[Project Name]"
deleteProject "[Project Name]"
2016-08-24 15:30 GMT+02:00 Thomas Schmidt <t.schmidt at md-network.de>:
> I have some data (plain HTML files and Pictures) which are generated by
> some reporting tools. I would like to publish those in OpenCMS and make use
> of OpenCMS permission system.
> What is the recommended way of importing static resources automatically
> from the server filesystem to the VFS ?
> I tried to do that by OpenCMS shell - this works - but apparently I can
> only publish in general by giving command publishProjectAndWait(), which
> will publish apparently automatically other things from other users (seems
> so that in past there was something like publishResource(String) command
> which is not available anymore).
> I tried as well to configure a Synchronisation with a folder - which was
> not working (and would be less preferred).
> Many Thanks
> Kind Regards
> Thomas Schmidt
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the opencms-dev