I’m trying to get Session variables in the endpoint of a custom inputs but I can’t get it to work.
To explain in further detais:
- I have my dashboard organized as a folder of pages, an init file (where i manage the login, get the pages from the folder mentionned previously and start the dashboard) and an api.
- In the init file, after loging in, I store the username and ID of the user in $Session variables. They both are retrievable from every endpoint in the dashboard except the endpoints of custom inputs.
- When I try to submit my input, I get an error: Unable to link the argument to the parameter “Identity”, because it is Null (sorry for the syntax, I have the french version: Impossible de lier l’argument au paramètre “Identity”, car il a la valeur Null)
Does any one of you know of this or has an idea of why I can’t do it ?
Thanks in advance for your help !