value repeating itself..??

  • 1
  • Problem
  • Updated 4 years ago
  • (Edited)
I am using template to create a "text link"
value in template is <a href="http://www.google.com/"; target="_blank">google</a>
the values are repeating ..??
why is this happening ..???
Photo of Rizvan Ansari

Rizvan Ansari

  • 382 Points 250 badge 2x thumb

Posted 4 years ago

  • 1
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,004 Points 20k badge 2x thumb
There is a checkbox on the Template component called "Do not run Template on each row". If you check this, the Template will only run once.
Photo of Rizvan Ansari

Rizvan Ansari

  • 382 Points 250 badge 2x thumb
Thanks ZACH for the qUICK REPLY.!!
what if i am using template as a field means template in table or field editor..???
thanks
rizvan
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,004 Points 20k badge 2x thumb
This is because you do not have Conditions on your Model to limit the number of records returned --- your Field Editor is showing itself for every record in its associated Model. If you only are expecting one record to show up in your Field Editor, you will need to add Conditions on your Model.