Re: Name pattern for content element configuration
Filip Kratochvil via opencms-dev <[email protected]>
| Newsgroups | gmane.comp.cms.opencms.devel |
|---|---|
| Message-ID | <CAPQG8y3D4k97=o4f36iF65Qcd2Zsqt8VUpAh_W76Lv_AiagY-Q@mail.gmail.com> |
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 < [email protected]> 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 > > > > _______________________________________________ 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