[opencms-dev] Categories in export from database
Atle Enersen
atle.enersen at gmail.com
Sat Nov 8 03:43:46 CET 2025
Hello.
Our installation is in production state, thanks for all the help so far. Site/OpenCms (19) runds like a charm :-)
Now, we are trying (with success) to export data via the database interface in Launchpad. It works, but we have some questions...
1. It says in the XML exported:
<Categories>
<!--Categories are read dynamically-->
</Categories>
How are we supposed to get this dynamically in some way? We almost always have at least two catgories on our content objects, sometimes more.
2. How do we extract date/time the object was first published? In import we need to manipulate creation date/time as we shall load some thousand articles into the system. We have these three fields, but those we have implemented in the XSD ourselves:
<DatePublish>1761962594574</DatePublish>
<DateVisible>1761962594575</DateVisible>
<DateUnpublish>1761962594575</DateUnpublish>
1. When importing, does the system assign filenames in the VFS?
1. When importing, are there some way to when import is done choose which objects that should go into the db and those we want to kick out (for sosme reason), or must all selection happen befor import?
1. How do we rollback a failure? Should we delay people from publishing, dump database, do the import, check. I all is ok, go on living; if all fail, roll back dump?
As allways, thanks :-)
Best regards/Vennlig hilsen, Atle Enersen
--
Tel.: +47 48 06 31 71
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20251108/a812ba8b/attachment.htm>
More information about the opencms-dev
mailing list