Hi π
I have a Sharepoint form that I'm customizing with PowerApps.
This form retrieves the name of the user logged in from the Active Directory through the code
Office365Users.MyProfileV2().givenName
However, an anomaly occurs whereby when other users fill out the form, their email is registered correctly while the giveName is replaced with the name of another person (every time it's the name of the same guy).
This issue is perhaps more of a systemic type, but I'll try to ask you hoping to find someone with experience in this regard
Try this:
First(Split(User().FullName, " ")) -> first name
Last(Split(User().FullName, " ")) -> last name
If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution βοΈ!
Best regards,
GonΓ§alo Nogueira
Check my LinkedIn!
My website!
My blog!
Thank you for your reply! π
For greater clarity: The form I am customizing is used by a school to help its students when they have to enroll in courses.
I was specifically asked to create two separate fields (one for the first name and one for the last name).
These two fields are then shown in the form in View mode so when the students will open them, they will already find their name and surname filled in, and simply have to choose which course to enroll in using a combobox.
So, I don't think User.FullName can be a solution. Maybe associate with First() and Split()
Hey!
Why dont you use User().FullName ?
If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution βοΈ!
Best regards,
GonΓ§alo Nogueira
Check my LinkedIn!
My website!
My blog!
WarrenBelz
146,745
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional