Table Ref with Security issue

Hi all,
Not sure if anyone has had a similar issue, tried searching through questions, but canโ€™t see this at all.

Iโ€™ve built an app for Leave Requests which is functioning perfectly. However Iโ€™ve added security so when the user clicks โ€œEmployeeโ€ to request leave they only see the users with their email address (hopefully just one entry!)

Unfortunately this means when all the leave requests show, the UNIQUEID() key shows for all other users, and their entry is the only one with the โ€œhuman readableโ€ name.

I have an โ€œEmployeeโ€ table with a UNIQUEID() set as the key, and the employees name and photo set as the labels. This is referenced by the โ€œEmployeeโ€ entry in โ€œLeaveโ€ table, with a UNIQUEID() set as the key for each request.
Iโ€™ve seen the sample app that pulls the key and copies the associated name here but canโ€™t for the life of me get it to work.

Any suggestions welcome, otherwise Iโ€™ll have to remove the security, and slice the data into departments, so they arenโ€™t scrolling through some 100 employees.

0 1 161
1 REPLY 1

Steve
Platinum 5
Platinum 5