Skip to main content

I have a template using 

{{$Model.MYModel.data.length}} 

on 2 pages.

This only works on page1 if the component’s model is set to MYModel. If It is set to any other model it displays 0.

On page2 it works exactly as expected.

What are the factors that could cause this problem (and yes, the model does have rows)?

Matt, check the templates’ settings… does one have “Do not run template on each row” checked?


I figured it out.  I had to change it to a component and subscribe to the model and wait for it to load.  Thanks.


Reply