CMS List automatic value: Item index

When working with custom solutions (sometimes require custom code) it is easier to work with Collection list items that has a dynamic index attached.

What i mean with dynamic index is the index from the current list. (unrelated to actual collection items, but only rendered items) So when using filters the index works anyways for each item. (start at 0)

The index should be working so we can use it as a dynamic field in attributes, id and styles. This way each card can be targeted as unique and in order.

  • Simon Nilsen
  • Sep 16 2024
CMS