web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Displaying Value on Of...
Power Apps
Answered

Displaying Value on Office365Users

(0) ShareShare
ReportReport
Posted on by 204

Hi All,

 

I m trying to create a staff directory, I have used a gallery to get all user. Now I want to display full user profile when the user select a particulat staff member from the grid. I have insert a form and try to add the data source but I cannot add, am I doing anything wrong?

error.pngItems for gallery ->Office365Users.SearchUser({searchTerm:txtInputStaffName.Text,top:10})

Form Items-> GalleryStaff.Selected

Im keep trying to add the data source to the form , but I cannot select the data source see below. Any sugestion please.

data.png

I have manualy entered the data source for  form as ->Office365Users.UserProfile(GalleryStaff.Selected.Id)

then I run and click on the user from the gallery the form is showing a message saying "No Data sorce Provided"

 

Can someone please help me 

 

Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @NewNW 

    You will not be able to add a form to that as a datasource.  There is nothing that is editable and it does not function as a read-write datasource which a form would need.

    Instead you might consider just using standard labels to display the information.

    For example, a Label with the Text Property of GalleryStaff.Selected.DisplayName will show the name of the person selected in the gallery.  As well, a Label with text property of GalleryStaff.Selected.Mail will show the email address.

     

    I hope this is helpful for you.

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard