
Announcements
Hey there,
I've searched around and couldn't find anything related to it.
As you can see on the image below, the user data is being loaded on the Canvas App.
Now this is on the deployed app, nothing is shown.
What could be the issue?
Thanks in advance.
All right, easy to fix it.
On the App OnStart set a global variable to the user display name, photo or anything else you want to show.
Use Office 365 Users connection on the app, to grab any data related to the user just use the connection functions to retrieve it.
Example: Office365Users.MyProfile().DisplayName
Let's say you save this on the "userName" global variable, just use the variable whenever you need it and there you have it.