Announcements
Hi guys,
I am wanting to put a label on the front page of my app showing the current users ID as per the attached photoshopped image.
I have the Office 365Users data linked each time I try this I never seem to get the correct formula
you tried User().EntraObjectId ?
Hi @mandela
Thank you for the reply. I have not tried this, where would I put this code,
in the label's text property
hI @mandela I have entered this formula into the Text property of the Text label and it returns a long string of numbers which I presume is my ID, but it doesn't show my name or profile picture.
Not quite what you asked for, but I think it will accomplish what you are looking for. If you go to the app on start, you could add the following information:
Hi @trstrean , thank you, This has got me there or thereabouts. I have managed to put in the label the User Name which is what I wanted to do. I only get a string returned when I try it with the User Image. This is not a massive issue. I almost didn't get anything until I relaised I needed t "Run OnStart" 🙂
Thank you very much for your help.
My pleasure! I'm glad it worked out for you. For the user image, just add an image control and set the property like you did for the username and it should work for you. If you turn on modern controls, a header has been added that I believe already includes the logic to display the user image. That might save you some time 🙂
@trstrean many thanks this is perfect.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 342 Most Valuable Professional
11manish 234
Valantis 187