This is incredibly helpful; instructions are very clear and easy to follow along with, but also concise enough to keep my horrendously short attention span engaged from start to finish. I'd also be interested in seeing how to implement similar functionality but with the ability to select multiple people from the gallery and then being able to pass that data (as a comma separated list) back to a previous screen containing a form control.
@renukakanagaraj8436
2 жыл бұрын
Hi Brian. Do you find the answer for the functionality you suggested?
@SaidElnaffar
2 жыл бұрын
Brian, int;riguing question. I think the solution is to use a Collection where 1) you Clear it in the OnVisible, 2) Keep adding the selected contact to it. In this case you do not even need to pass it on to the previous screen because the Collection lives globally (unlike local variables).
@cristinaR2
Жыл бұрын
This video is definitely underappreciated! Thanks for sharing this with us!!!💛
@Slash1066
2 жыл бұрын
I learned some good tips from this actually, like using the With function for example. Thanks again, Matt H.
@AprilDunnam
2 жыл бұрын
Glad you could pick up a few tips. With is one of my favorite functions 😍
@thechristianinitiative1445
2 жыл бұрын
Great Video April!
@AprilDunnam
2 жыл бұрын
Thank you!!
@leetyler3102
2 жыл бұрын
interesting way to handle people pickers. will give it a try next time i need to use a people picker
@AprilDunnam
2 жыл бұрын
Let me know what you think if you try it!
@AdamHaas
2 жыл бұрын
I downloaded to try and figure out where "user" is coming from, and there are no results in the app. How is the profile picture referring to something called "user" if there is nothing in the app called "user"?
@dwinston91
2 жыл бұрын
i figured it out. You upload Media (ie the default mage you want displayed and make sure that it is called user. Or you could call it anything you like and reference that in the If statement, like If (hasphoto, personImage, )
@shawnsiegrist3632
Жыл бұрын
Hello April, This video was incredibly helpful, I get this error when I try to add the photo to the picker "Office365Users.UserPhotoMetadata failed: The method 'UserPhotoMetadata' has an invalid value for parameter 'userId'". Any idea what I'm doing wrong? Thank you!
@blaaknuten
7 ай бұрын
I got the same error.
@numsegarn
6 ай бұрын
@@blaaknuten You can do this With( { personImage: IfError(Office365Users.UserPhotoV2(ThisItem.Mail), ""), hasphoto: IfError(Office365Users.UserPhotoMetadata(ThisItem.UserPrincipalName).HasPhoto,"") }, If( hasphoto, personImage, user ) )
@jray1429
Жыл бұрын
This is excellent, very useful. Easy to understand. Thank you
@AprilDunnam
Жыл бұрын
That's great! I'm glad it was easy to understand and helpful!
@cristinaR2
Жыл бұрын
To display the user's photo use the following expression: If(!IsBlank(ThisItem.Email),If(Office365Users.UserPhotoMetadata(ThisItem.Email).HasPhoto=true,Office365Users.UserPhotoV2(ThisItem.Email),SampleImage))
@mickygchannel
Жыл бұрын
I've researched this workaround countless times and they're all similar to yours but for some reason I'm still getting "Office365Users.UserPhotoMetadata failed: The method 'UserPhotoMetadata' has an invalid value for parameter 'userId'"
@shawnsiegrist3632
Жыл бұрын
@April Dunnam I'm getting the same error as Micky G. Has something changed that the formula you used is no longer valid?
@prodjstylus
Жыл бұрын
@@shawnsiegrist3632 I got around this by using the IfError() command: With( { personImage: Office365Users.UserPhotoV2(ThisItem.Mail), hasPhoto: IfError(Office365Users.UserPhotoMetadata(ThisItem.UserPrincipalName).HasPhoto,"") }, If( hasPhoto, personImage, user ) )
@philosopherkizito911
Жыл бұрын
Change Email to Mail and the solution will work If(!IsBlank(ThisItem.Mail),If(Office365Users.UserPhotoMetadata(ThisItem.Mail).HasPhoto=true,Office365Users.UserPhotoV2(ThisItem.Mail),SampleImage)) Thanks for sharing
@Scott-pj7yb
8 ай бұрын
@@philosopherkizito911 This is the answer! Thanks for sharing, this is the only thing that worked for me!!!🙂
@jaimerrojasrojas5924
Жыл бұрын
How to display specific users? Anyway, you are brillant April !!!
@di287181
7 ай бұрын
Great video, very helpful. Thank you!
@AprilDunnam
7 ай бұрын
Thank you for your support! I'm happy to hear that you found the video helpful.
@ravimsr
2 жыл бұрын
Nice video. I learnt something new. Thanks for sharing this video.
@AprilDunnam
2 жыл бұрын
Glad it was helpful!
@TiagrajI
2 жыл бұрын
Great video. Thank you April 😊
@AprilDunnam
2 жыл бұрын
Thank you for watching!
@khrystinameier2981
Жыл бұрын
Hello, I am struggling with the photo image formula. Is personImage a media image that you uploaded to your powerapp? When I type it in, it doesn't show up in my dropdown as an option. Thank you.
@carinaslim2378
2 жыл бұрын
Hi, this is really helpful! Can you show us how to get the Direct Reports for any person, not just the logged in user? That would be really awesome! thanks!
@Gorganahfikark
Жыл бұрын
Absolutely excellent video have been looking for someting tlike this for a while but this did it. Love the last bit on styling. Would it be possible to share some insight on how to do a people picker bound to a data card? I tried adjusting a datacard to accepting multiple values similar to that of a combo box but the datacard properties are not the same as combo box properties
@fvdv1990
2 жыл бұрын
Can you please explain how to assign multiple people with this people picker? Would a collection instead of a context variable work?
@bluecaban3855
2 жыл бұрын
!SUPER HELPFUL!
@AprilDunnam
2 жыл бұрын
Glad it helped!
@carolinehorstgomes2289
7 ай бұрын
April, your work is incredible, congratulations!! I had a question, how would I apply this same logic to the combobox? for example, all users in the organization appear and I use the search field to search for a specific one?
@gopalkannaiyan
Жыл бұрын
This is great! when do search DirectReports not getting user detials
@anandasanyal
2 жыл бұрын
Great video, Looking for some help on same - I'm working on SP- Person or Group field (multi select), Trying to retrieve count using Group By, and getting Error- Expects a text, number, dates.. Not Person and Group.. Is there any work around.. Thank you.
@sandysysq
2 жыл бұрын
Hello Ananda, I'm also working on the similar kind of scenario. I need to pass usernames from people picker which has more than 1 username to power automate on button click. Power Automate, I handled. Getting all the usernames from the people picker is the one im looking for.
@andreschlender9687
2 жыл бұрын
Loved the approach and downloaded your sample app. Would be great if you can explain how to then write the "assigned to" user back to the SharePoint list and display that user when you view an existing issue. I'm trying to incorporate your approach with an App that would use a patch function to write back to list. I saw you are using the form submit. Some help or direction either way would be great.
@derekgray3019
2 жыл бұрын
I'm hoping April will see and respond to your comment as I have the same issue with trying to pass the "assigned to" user back to the SP list in the choices column (People picker type).
@davidhart4032
2 жыл бұрын
You can do it using a Patch, but that's sooo painful! I just added a title to the form, unlocked it and added varSelectedPerson.DisplayName (turned off visible). Completed a submit button and a success page. Took me all day to figure out such a simple solution, but it worked.
@zimands5
2 жыл бұрын
@@davidhart4032 can you give a little more explanation on this? I can't figure out how to get my selected person back to the form, and/or back to the SharePoint list.
@davidhart4032
2 жыл бұрын
@@zimands5 I wish I could, I don't even remember which app I created this for and I didn't save the template for future apps. From what I wrote it looks like I created a submit button, added varSelectedPerson.DisplayName to the title column from the SP form, unlocked that title column in the app(so that is will enter the varSelectPerson), and then de-selcted visible from "title" in the app. That way you can't see the actual name appear in the submit page but it will populate the title column in SP. I'm pretty sure that was the solution. I really hope I was able to help you. Good luck!
@davidhart4032
2 жыл бұрын
Just found my OneNote... I added the varSelectedPerson to a timer. Button Timer: UpdateContext({popUpvis: true}); Reset(searchbar); Navigate( home, ScreenTransition.CoverRight, {varSelectedPersonValue: varSelectedPerson} ); SubmitForm(Form1); ResetForm(Form1) Timer: Duration: 5000 OnTimerEnd: ResetForm(Form1); NewForm(Form1); Navigate('homes-creen', Fade); Set(startTimer, false) Navigate(Home,ScreenTransition.CoverRight,{varSelectedPersonValue:varSelectedPerson})
@KamrulHasan-th3ir
2 жыл бұрын
Wonderful 😊, just curious if the people picker column is bind with a SharePoint group in the list. Thanks
@gregoryreddin1222
2 жыл бұрын
Hi April, thank you for the video. I’m getting stuck on the Image property for the Gallery control. Inside the ‘With’ statement I’m having an error with the ‘user’ in the last part of the ‘If’ condition. I have this error: Name is invalid. ‘user’ isn’t recognized. I may have missed it in the video but how do I add the user icon/image so I can eliminate this error. Thanks!
@gregoryreddin1222
2 жыл бұрын
Disregard. I downloaded your msapp and reviewed it. I see now that I didn’t add a user image to the Media section for the app.
@AprilDunnam
2 жыл бұрын
Glad you got it working :)
@philosopherkizito911
Жыл бұрын
Great video. On your "With" command not sure how you created the variable "user" 11:14. Error message Office365Users.UserPhotoMetadataFailed: The method 'UserPhotoMetadata' has an Invalid value for parameter 'userid' location Image5
@markrsmith5
2 жыл бұрын
I want to add the picture icon she talks about in the Well statement when there is no actual picture in the AD. Can someone help?
@davidhart4032
2 жыл бұрын
Google the image, save it to the canvas.
@Mike-uz3kn
Жыл бұрын
Fantastic video! I'd like to be able to use the User Select screen in multiple areas in my app. Is there a better way than duplicating the screen and changing the variables to reflect each use case?
@gagansingh3481
Жыл бұрын
Awesome Mam
@AprilDunnam
Жыл бұрын
Thanks a lot
@kellishepherd2128
2 жыл бұрын
Hi April. I am stuck on what you used to set the Add Assigned To on the form to change to the name once selected? Is it a button? And if so, how does that feed back into the form?
@mahalakshmi1404
Жыл бұрын
Thanks for the video. Can you share for how can we search for the office 365 groups. User and groups search in a single people picker. Thanks in advance
@stefanyreyes8592
Жыл бұрын
Very helpfull!!
@AprilDunnam
Жыл бұрын
I'm so glad it was helpful!
@nocodecreative
2 жыл бұрын
Great, but how do I pass the user back to the form? In the video you show it passing to another screen with a button as opposed to the original form?
@davidhart4032
2 жыл бұрын
Add a column (I used title) that you want to use in the form. Navigate to that form. Hide the card.
@excel-k-sir
Жыл бұрын
Hello April, I have a share point list which consists of 15 people with the column type as Person or Group I wan the People picker to show only the list of those 15 people and select one of them. Need your help in that.
@bassemjaidi2428
Жыл бұрын
Thanks for video, what about search guest contact?
@DoktorNG
2 жыл бұрын
Getting an error when importing to canvas app, missing component
@McIlravyInc
2 жыл бұрын
How do you change the border thickness when text input box is selected?
@namananand2725
2 жыл бұрын
Hi Aril, how to select multiple users if we use people picker in a combo box. And when the multiple users are selected, it should reflect in the sharepoint list after submitting Thanks in advance
@heidilackner-vanhartrop7622
10 ай бұрын
Hi April, thanks for your great video. Is the people picker with Office 365 users delegable to Sharepoint? I’d like to use it for about 1000-2000 users. Thanks!
@LauraLuisaRosenberg
2 жыл бұрын
Hell, thank you for the great video. I have a question is it possible to have a people picker and if the person doesnt exist to have the option to write the user name down?
@Legendias
2 жыл бұрын
This is giving me a runtime error when entering a name that doesn't exist?!
@TheRemyRomano
2 жыл бұрын
Brilliant
@AprilDunnam
2 жыл бұрын
Thanks Remy!
@Digitain
2 жыл бұрын
Great videos April. Will this work with PowerApps for Teams on Dataverse backend?
@AprilDunnam
2 жыл бұрын
Yes these same concepts will apply to dataverse for teams based apps :)
@nocodecreative
2 жыл бұрын
@@AprilDunnamwill the same concepts apply to a model-driven app with the new canvass pages?
@prashanth2341
2 жыл бұрын
hii... madem your videos of explanation reallyy awesome ...
@AprilDunnam
2 жыл бұрын
Thank you so much 🙂
@prashanth2341
2 жыл бұрын
@@AprilDunnam i want to communicate with you madem about office 365 subject . matters ..can you please tell me how can i communicate with you..
@kearley8792
2 жыл бұрын
Hi, April. I followed the link in the description but did not see the source code in your Git. What is an exact link to the code?
@sandysysq
2 жыл бұрын
Hello April, I have a question for you. How do I get usernames from multiple enabled people picker ? I need to send the usernames to Power automate on button click. Any suggestions ? Do you have a video on getting users names from people picker which has more than 1 user.
@ResponsibleXI
2 жыл бұрын
Are the suggestions initially on the gallery comes by default when you set top:6?
@cvkealey
2 жыл бұрын
This is great! Much better than the "combo box" control for this function. One question: how flexible is that "user search"? Could I, for example, return only users who have a job title? We have a few student-facing apps where they need to select/enter their instructor (all of whom have a job title), but we've had more than a few students enter students (who don't have job titles).
@AprilDunnam
2 жыл бұрын
Yep that's a way to do it. Another approach could be to use collections and fetch all of your user data into a collection (or multiple depending on delegation) where say you pre-filter it where JobTitle isn't blank then add that to the gallery
@VALERIYA1PROCKO
2 жыл бұрын
I really like the level of details, but I wish you have mentioned the build-in combo box (there is a way to use a person layout out of the box). There are so many additional steps that you need to do for a good user experience, like making sure that the combo box drop-down list closes when you click somewhere else on the screen). I'm new to Power Apps, and somehow I forgot about the default combo box, and it took me a few hours to replicate what you've done in the video and for my use case a basic staff would work just fine).
@markuswinkler5312
2 жыл бұрын
Hi April, very useful video, thank you! - I want to use your people picker screen with two ore more datacards on the main screen, but struggling in the best way to do that - did you have a suggestion, or best practice to having some datacards on one screen, referencing to a single people picker screen? (var´s between screens or something like that?...) many thx
Пікірлер: 91