cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Build Apps: App doesnt get user information

v_blum2000
Explorer
0 Kudos

Hi,

i have a problem with the system variable "systemVars.currentUser.email" (also the other ones like firstname or lastname) which reads the mail from the currently logged in user.
Its working on the preview app for one time, but after reloading the page, the variable is empty.

When I deploy the app and use it, it's empty everytime. 

In the developer tools from Chrome I can see, that this user API is triggered: /user-api/currentUser/
The query works and it returns my name, mail and some other information, but the systemvar variable is still empty.

Can somebody help me here?

Thanks,
Vincent

Accepted Solutions (0)

Answers (0)