darrenSP
7 years agoMentor
Get all text keys
Hi, Is it possible to get all text keys that match a certain criteria? For example, I have text keys like this: key: category.instance.1 value: Category instance 1 text key: category.instance.2 ...
- 7 years ago
Ahhh I thought that may be the case.
I'm thinking of storing a count in a text property then looping based on that number.
<#assign count = text.format('category.count') /> <#list 1..count?number as i> <#assign msg = text.format('category.instance.${i}') /> ${msg} </#list>