Get template view and name

Good morning.
I am trying to get name of the view template assigned to the view…
Why do I get this error… how can I solve it?

The error states the reason: you’re trying to pull the parameter from a list. Your input is an @L3 list, meaning it’s a list with sublists. So your code is looping through the sublists i in the outer list views, but not looping through the individual items in the sublist. You either need to flatten your list or add another loop.

1 Like