Sign Up
Loading...

Outputting custom JSON and referencing row values

Asked by Tushar on December 8, 2024

I tried to return data in a custom JSON object and referenced $data.EmployeeName, but the output contained the literal string "$data.EmployeeName" rather than the value. How do I return a field value from a single row in a JSON response?


Answered by Twidget

Make sure you reference variables using the proper variable type (not as literal text). Use the platform variable reference (the variable picker/type) so the JSON template injects the actual value rather than a literal string.

Related Questions