Skip to main content
Nintex Community Menu Bar
Question

Field in Tab Name

  • July 9, 2024
  • 7 replies
  • 1 view
  • Translate

Forum|alt.badge.img+2

I’m creating a timesheet application and I have a tab set that has tabs for each day of the week (Mon-Sun). I have the tabs named Monday, Tuesday, Wednesday, etc…, but I would like to also include the date which belongs to that particular day of the week. Is there a way I can add the date field from my model into the tab name?

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

7 replies

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

The secret is that the Tab Label field will accept template syntax allowing you to get at data within your Salesforce Instance. So you can use {{ double brackets }} to your hearts content. There is a catch. Since Tabsets are not related to models they don’t automatically know where to fetch your data - so you need to use the following syntax: {{$Model.ModelName.data.RowNumber.(FieldName)}} Where “ModelName” is the model name you provided in the page builder and “RowNumber” is an integer (1, 2 etc). Hope this works for you.

Translate

Forum|alt.badge.img+5
  • 35 replies
  • July 9, 2024

Found this after posting a similar idea, can you include the field selector on the tab label field to show the Admin-User this capability?

Translate

Forum|alt.badge.img+5
  • 35 replies
  • July 9, 2024

Also, any clues on showing a Count of rows in a model?

Translate

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

Good question that merits is own answer Please reference the new topic here: Can I show Number of Rows in Model in the Tab Name?

Translate

Forum|alt.badge.img+13
  • Scholar
  • 511 replies
  • July 9, 2024

Hi,

I’m trying to add a field’s data to the tab;s name.

Following example above, but still no result.

Can anyone help by any chance?

Model:Bank_statements
Field:of_active_online_access__c
Row:1

{{$Model.Bank_statements.data.1.of_active_online_access__c}} 

Thx

Translate

Forum|alt.badge.img+7

How many records have the model? this syntax is 0 based, so, the first record is 0, second is 1,…

so if you only have 1 record: {{$Model.Bank_statements.data.0.of_active_online_access__c}} 

Translate

Forum|alt.badge.img+13
  • Scholar
  • 511 replies
  • July 9, 2024

Thank you very much that worked!

Happy Thanksgiving 🙂


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