Template Repeater, One Const Param, One Index Param

I've got a template with indirection built in, so I've got 2 parameters for the template - "path" and "index". For all instances in one use of the repeater the "path" is constant, but the index needs to increment.

Is there any way to do this with the count method, or am I going to have to use the dataset method and script the creation of the dataset?

I would suggest using @pturmel Integration Toolkit to create the dataset via an expression.

2 Likes

I would use the dataset mode and simply script it at initialization if the path property is just a set it and forget it type of thing. The path column will be the only one that is needed since the index variable will still auto increment even in dataset mode.

I did not know this