I'm following the steps in this video to create a Comments Section.
James (the author) created two models, then creates a relation between the two, then creates a table to add/edit comments/notes.
He uses the following Event in one model:
onCreate
record.reported_by = Session.getActiveUser().getEmail();
record.Date = new Date();
and the following Event in the second.
onCreate
record.Tech = Session.getActiveUser().getEmail();
record.Date = new Date();
Now if you have a label that is bound to the relationship, it will show the email address of the user who created the new item.
All that is working perfectly. I was just trying to figure out a way to have the label display the Full Name instead of the Email Address.
I was hoping it would be something simple like switching getEmail with something like getFullName, but no such luck.