
Announcements
Hello,
I'm creating a Canvas application based on a Sharepoint list. In my Sharepoint list, I'm using the "Person" column to identify employees in my organization.
In my application, I only seem to have access the "Display Name" of the employees from the person card. I require to split name and surname and I was looking at MyProfileV2() to get it. Since MyProfile is for the current user, UserProfile() seemed like the way to go.
I can't to be able to write a function that would use my DisplayName from my original data and point to the same DisplayName in UserProfile(), so I can extract what I need.
Something like Office365Users.UserProfileV2("Clark").givenname is returning a big not found error :
Am I approaching this properly ?
It would seem that you need something really unique, like an email, to use the UserProfile... else too many results won't work in a label.