sobrenome Posted November 9, 2020 Posted November 9, 2020 How to get the ID of the record on Pages templates? I have tried: $record->id $record->_id $record->primary_id_field
bfarber Posted November 9, 2020 Posted November 9, 2020 ->primary_id_field would be right, but you need to make sure the variable is correct. If you are in a different template inside a loop it could be $row for instance instead. sobrenome 1
sobrenome Posted November 9, 2020 Author Posted November 9, 2020 4 hours ago, bfarber said: ->primary_id_field would be right Perfect, I guess caching was the reason it did not work before.
Recommended Posts