In the attached code, I am creating a simple report.

In the attached code, I am creating a simple report. I am using the a!gridField() function. The first column is referencing an id called "university_id". Instead of the ID, I would like to display the actual text. For that I created a query rule that given a university_id it returns the corresponding University object. Right now, in the first column of the grid, I am doing index(local!datasubset.data, "university_id", null). If I call the query rule as shown here: University_getUniversity(index(local!datasubset.data, "university_id", null)).univ_name, it will only display the name for the first row of the grid. Why is this happening?

OriginalPostID-183348

 

code.txt

  Discussion posts and replies are publicly visible