Reputation: 61
I have a canvas app that has a gallery of a dataverse table. This table, has a lookup column of another table called "Course", and that course has a lookup column of another table "Teacher". I'm trying to display the teacher name (text field in Teacher table) in the gallery. In the editor, it is fine, name shows up. But when I play the app, there is nothing there.
In the editor:
In the play mode:
PowerFx code: "Teacher: " & ThisItem.Course.Teacher.'Teacher Name'
I cannot figure out why it displays fine in the editor, but not in the play mode.
Upvotes: 0
Views: 56
Reputation: 61
I was able to solve it by adding a refresh for the Teachers table in the OnStart of the app. The issue was the table wasn't loaded, so it couldn't get the value.
Upvotes: 0