Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

We sometimes get the request to support repetitions in a text item and although we do think this is a feature we would like to implement, we have not gotten round to it yet as there is in most cases a (not very user friendly) workaround. 

Simple cases

For this workaround we use the possibility to add fields to a text item in which we can model collects to give us a set of values which we can join into a presentable string. This would look similar to:

...

Which could give us the string with all persons and ages if they the combinations of the two are unique.

Unique strings and replacement

In But in the cases where this it is unwanted to add or where this still not results in a unique string we can use some more complex expression to still give us the correct results for this solution we make use of the text function replace, add a unique element to each instance and replace it with an empty string. It will look like this:

...

In the case described above where you have the collection of instances with names: Kim, Rick, Bob and Bob, this will result in the string: "Kim, Rick, Bob, Bob".

Static text repeat

In a variation on this, we could also repeat static text. where this:

...