Skip to main content
Nintex Community Menu Bar
Question

Can I show Number of Rows in Model in the Tab Name?

  • July 9, 2024
  • 2 replies
  • 0 views
  • Translate

Forum|alt.badge.img+5

Also, any clues on showing a Count of rows in a model? Note: This topic was created from a reply on the Field in Tab Name topic.

Did this topic help you find an answer to your question?
This topic has been closed for comments

2 replies

Forum|alt.badge.img+17
  • Nintex Employee
  • 3763 replies
  • July 9, 2024

As has been mentioned in other forum posts - the Tab Name property can take merge data.  But one lesser-documented-aspect of our merge syntax is that it can show model length as well.   

Use the syntax:  {{$Model.ModelName.data.length}}  to show a number of rows for the model.  We’ve done that on the case detail page to show the number of comments on the case in the comments tab.

20096dc656e06d690b716454ed3900ba0d4909d2.png 




Translate

Forum|alt.badge.img+5

Rob, this is a really cool feature, but wondering if it is possible to take it a step further. One thing I’ve noticed is that if you have the tab set on a detail page the number like you show above works, but if in the data in that tab changes say you add another case in-line for an Account it doesn’t update the number in the tab and I thought trying to requery the model would help, but no luck. I also tried to set a roll-up summary field on the detail page object (E.G. Account) and when the model is requeried the field is updated and incremented, but when it is in the merge syntax within the tabset it doesn’t get reflected unless you reload the page. Is this expected behavior? Thanks! Jeff Rutter

Translate

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings