format to reference field in another model

  • 1
  • Question
  • Updated 3 years ago
  • Answered
I have an object that has 1 record. I have an object named "UI_Only_Field__c" with a field named "Delete_Days__c"



I have a UI-Only reference in an object to the object "UI_Only_Field__c" 





Delete Days is a number.  What does the {{ }} look like in order to get the value in Delete_Days__c"?

Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Bill, not sure I completely understand, but I think you should be able to go with {{$Model.YourModelName.data.0.UI_OnlyField__r.Delete_Days__c}}, no?
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb
Thanks. That was it!