[opencms-dev] Name pattern for content element configuration
Filip Kratochvil
tech.kratas at gmail.com
Tue Oct 11 15:49:31 CEST 2022
Hi,
I think there is no difference (one folder vs split between more folders)
because new OpenCms versions use lazy-loading in explorer.
Good luck and let us know if it works! :)
Regards
Filip Kratochvil
po 10. 10. 2022 v 10:32 odesílatel Bernhard Zebedin <
bernhard.zebedin at visions2.net> napsal:
> Hi Filip.
>
> Thank you. The macro works perfect.
>
> Ad2) After a small look to the data-structure of OpenCMS… I will give it a
> try.
>
> I need Solr (with geo-data)… and I all this records are part of websites
> and maps.
>
> We decided to use OpenCMS to manage this content. They only thing was…
> split it up in more folder… or store it in one.
>
> I think there is no difference… because all of the content is stored in
> one table.
>
>
>
> Regards
>
> Bernhard
>
>
>
> *Von: *Filip Kratochvil <tech.kratas at gmail.com>
> *Datum: *Samstag, 8. Oktober 2022 um 23:40
> *An: *"opencms-dev at opencms.org" <opencms-dev at opencms.org>
> *Cc: *Bernhard Zebedin <bernhard.zebedin at visions2.net>
> *Betreff: *Re: [opencms-dev] Name pattern for content element
> configuration
>
>
>
> Hi Bernhard,
>
>
>
> 1) Yes, it is possible, try the following macro: qi_%(number:6).xml
>
> 2) Not 100% sure but I think it should be OK. Anyway, I would consider
> storing data in DB or if you need search functions, you can index it
> in Solr (DB > Solr), but it requires custom development.
>
>
>
> Cheers.
>
>
> Regards
>
> Filip Kratochvil
>
>
>
>
>
> so 8. 10. 2022 v 17:29 odesílatel Bernhard Zebedin via opencms-dev <
> opencms-dev at opencms.org> napsal:
>
> Hi all.
>
> I searched for the possibility to define a name pattern with 6 digits in
> the filename.
>
> At the moment I configured the name pattern with “qi_%(number).xml”.
>
> This genereates filenames e.g. qi_00001.xml (5 digits)
>
> Is it possible to define this with 6 digits?
>
> I work on the migration from an old system which has around 150.000
> records with an
>
> Incremental number…. I want to use this number as the new filename. And I
> want to
> use further new created records to use the same number circle.
>
> Question 1) Is this possible to define 6 digits?
>
> Question 2) Could this be a problem for OpenCms if I have so much records
> in one folder?
>
>
>
> Kr
>
> Bernhard
>
> _______________________________________________
> 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
> https://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20221011/a73b7a8f/attachment.htm>
More information about the opencms-dev
mailing list