Selecting user value

Hello,

I embedded my dashboard to an application, say School. Once logging into the particular user account (Teacher account), application has option to select one student. There is list of student email id’s. If we select one student email id, it should show the dashboard relating to only that particular student.
I have used injected function option to verify teacher account.

const stringId = context.token.UserId;
return { “teacherId”: stringId };

Now my issue is, when I am selecting student emaild, I am not sure how to capture that value and where to provide that filter option in mondodb dashboard.

Thank you,
Sunita

Please close the issue.