Skip to main content
Nintex Community Menu Bar
Question

$Model global syntax performing like local

  • July 10, 2024
  • 2 replies
  • 11 views

Forum|alt.badge.img+2

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)?

2 replies

Forum|alt.badge.img+18

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


Forum|alt.badge.img+2

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