Skip to main content
Nintex Community Menu Bar
Solved

Having trouble using a field from model as Custom Label for a different field

  • July 11, 2024
  • 2 replies
  • 20 views

Forum|alt.badge.img+7

Hello - I am trying to reference a field from my model as the label for another field but running into issues. Both fields are in a single model, and I’m querying on page load. Using the field selector, I get {{ }} around the field name, and leave it as is in the ‘Custom label’ area. When I check the preview or the environment it is blank. Ultimately, I’d like to have my label read ‘Quantity of {{Product_Unit}}’ but it’s not working out.

Has anyone experienced this? It seems straightforward but keeps coming up blank. Thanks!

Best answer by Skuidward_Tentacles

Try:

{{$Model.YOUR_MODEL_NAME.data.0.YOUR_FIELD_NAME}}

this tells it to get the value from your specified field from the first row (Row 0) from your specified model

2 replies

Forum|alt.badge.img+17

Try:

{{$Model.YOUR_MODEL_NAME.data.0.YOUR_FIELD_NAME}}

this tells it to get the value from your specified field from the first row (Row 0) from your specified model


Forum|alt.badge.img+7
  • Author
  • Rookie
  • July 12, 2024

Crushed it! Thanks Raymond!