Hello Everyone,
How can I get the count of dataview rows in Application Studio?
I want to use it in a condition.
Hello Everyone,
How can I get the count of dataview rows in Application Studio?
I want to use it in a condition.
Put this in your expression field: %LandingPage.count% where LandingPage == your dataview.
Somebody mark this as a solution lol. I swear I google this at least once a month because I can never remember the right syntax for this and this post saves me every time!

Me too!
One Question how far can we go using this, and also does someone know if possible use foreach() expressions from JS in the condition?
Yes. Basically you can do whatever valid js will fit and eval in a one-liner that returns a value.
The expression evaluator runs a dynamic function invocation.
Put a breakpoint here and you can try it out to hearts content:
Use arrow funcs, no semis, and avoid kinetic expression tokens that’ll trigger unwanted inner evals like use new Object() instead of {}