Тёмный

PowerApps User Function and intro to Office 365 User connector 

Shane Young
Подписаться 163 тыс.
Просмотров 94 тыс.
50% 1

In this video, you will learn about the PowerApps User Function. You can use this function to pull info about the currently logged in user. You may use it to show their name or their picture but most often we take advantage of the email property to facilitate information to controls or even hide controls. Then after the fun I show you quickly the Office365User connector as a more advanced tool.
User().Email
User().FirstName
User().Image
Office365Users.UserPhotoV2(User().Email)
As always if you need any help check out www.PowerApps911.com

Наука

Опубликовано:

 

21 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 204   
@marcocruz8440
@marcocruz8440 3 года назад
i just wasted an hour trying to figure out why one of my permissions wasn't working and after an hour of tinkering i knew it was the case sensitivity issue. God i am so grateful i saw your video a long time ago. I would have wasted even more time. You are the biggest life saver Shane
@ShanesCows
@ShanesCows 3 года назад
Thanks Marco. Glad you got it 😀
@ianhodgson6396
@ianhodgson6396 4 года назад
Shane you just saved me hours and the need to annoy my IT group. Thanks!!!!
@billkuhn9886
@billkuhn9886 5 лет назад
Nicely done Shane!! You mentioned that the content was a bit random...I don't know...but I do know that showing logged in user data in forms is a request in 50% or more of the forms I build in InfoPath and now in PowerApps. So I found this video uber helpful.
@ShanesCows
@ShanesCows 5 лет назад
Cool. Glad it helped.
@angieneal5464
@angieneal5464 4 года назад
Hi, Shane. Thank you so much for sharing your knowledge. It has been so beneficial to me learning PowerApps and troubleshooting inherited apps.
@ShanesCows
@ShanesCows 4 года назад
Glad to help. 😀
@adriancelis9691
@adriancelis9691 4 года назад
Short or long videos, your tutorials are always helpful. :)
@ShanesCows
@ShanesCows 4 года назад
You are too kind. 😍
@andrewstephens3376
@andrewstephens3376 2 года назад
Great tutorial! And awesome tidbits on using labels in the development / troubleshooting process!
@ShanesCows
@ShanesCows 2 года назад
Thanks so much!
@JohnMahoney1
@JohnMahoney1 5 лет назад
Thanks again Shane. Great video. Keep them coming :)
@ShanesCows
@ShanesCows 5 лет назад
Will do. 😎
@balogunsalimonjide5970
@balogunsalimonjide5970 4 года назад
Shane John You are the best you just healed my headache now Thanks
@ShanesCows
@ShanesCows 4 года назад
Glad to help
@khargos7602
@khargos7602 2 года назад
I like the new way you point at "Those Guys!"
@adarshsharma1
@adarshsharma1 3 года назад
This video was so much helpful. Thank you Shane...Keep them coming :)
@ShanesCows
@ShanesCows 3 года назад
Will do
@ClarkyXR
@ClarkyXR 2 года назад
This was great, not random at all, needing it for Office environment
@ShanesCows
@ShanesCows 2 года назад
Awesomeness 😎
@altino91255268
@altino91255268 3 года назад
Very Top this video! I loved the idea of the Sum you did at the IF .... I love it when you teach us to think
@ShanesCows
@ShanesCows 3 года назад
So glad! 🐶
@tausifjamkhandi1597
@tausifjamkhandi1597 5 лет назад
Nicely explained;Thank you for sharing the information shane🙂
@ShanesCows
@ShanesCows 5 лет назад
Happy to. 😎
@DataSpinners
@DataSpinners 6 лет назад
Hey Shane, could you remind me why it why it is better to use the 365 connector to pull back the image vs the user() connection? I can see that one was successful but the other wasn't. Thanks.
@lww8132
@lww8132 3 года назад
I am too late to this video! Thank you so much for sharing this function.
@ShanesCows
@ShanesCows 3 года назад
Happy to help. :)
@cztop54
@cztop54 5 лет назад
Hi Shane! Thanks, as always, for your great help! I'd like to use the O365 User connection in a repeating table where I have to add the names of multiple people who participated in an event. Any particular advice or heads-up you might have on that -- other than is provided in your repeating tables videos?
@ShanesCows
@ShanesCows 5 лет назад
I don’t think so. It should work
@chubbydawme
@chubbydawme 6 лет назад
Yes my dog has his own browser too LOL (in reference to @10:27) But seriously, your videos are bomb!
@ShanesCows
@ShanesCows 6 лет назад
All good nerds create Office 365 accounts for their dogs. :) Thanks!
@lwhite3225
@lwhite3225 5 лет назад
This is very cool stuff. I'm not having any trouble getting info for the logged-on user. I’m working on what I thought would be a simple app: Employees nominate colleagues for awards. The person doing the nominating must fill out a Word template that gets attached to a SharePoint list. The only thing I want the nominator to do is select the name of the nominee from a People column and attach the Word file. I have a simple PowerApp that works fine. Then I want PowerApps (or Flow?) to: 1. Find and update the nominator’s department in the SharePoint list. The nominator is the currently logged-in user. 2. Find and update the nominee’s department and manager in the SharePoint list. The nominee is chosen from a SharePoint People column that's in the PowerApp form. 3. Send email to various people, including the nominee’s manager. Teach me, oh wise one.
@ShanesCows
@ShanesCows 5 лет назад
My fourth try at responding. UGH. This video will help. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-43ekj5MlNJU.html
@Vincent-eo9cs
@Vincent-eo9cs 4 года назад
Great summary on the functionality! Is there a way to capture the User() when records are written? Perhaps using entities? This would be useful in a use case for using a sql server to capture various tenants data - want to segregate by user and perhaps group via AD.
@ShanesCows
@ShanesCows 4 года назад
Try this ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-tNKcsuL72ks.html
@fanrong6200
@fanrong6200 4 года назад
Thank you. Great Video!
@mercadomarcos
@mercadomarcos 6 лет назад
Thanks for the videos! This was not a random one like you said :). I have a question, is there a way to do impersonation in PowerApps? This is to test my app as if I was a particular user. In your video, you have access to Chewy's account so it was straightforward :) but I don't have access to other users' accounts. I'll try when my data is ready, but could I temporarily set the User().Email value to my test subject's email address when the app loads or is there a more elegant way to do it?
@ShanesCows
@ShanesCows 6 лет назад
You would have to get creative. So either instead of using User().Email replace that with the user email. Maybe see if you can get a test account so you too can log in as Chewy. :)
@dannielleszuba5699
@dannielleszuba5699 4 года назад
Great Vid Shane, I have a question. You mentioned having an allowed list but through SharePoint, is there a way you can reference a list in Powerapps, Maybe by using a collection?
@ShanesCows
@ShanesCows 4 года назад
I think this shows you what you want. PowerApps Hide Button Based on User and other fun ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0MB-z9cyFCQ.html
@TheDestras
@TheDestras 3 года назад
Thank you this have been very helpful
@ShanesCows
@ShanesCows 3 года назад
You're welcome!
@akshaynm
@akshaynm 4 года назад
Hello Shane, one more nice video, Thanks for sharing! I have a related question to this. In these examples you have used a "Text Label" to add the UserName/Email/etc. But suppose i want to add the values to a People/Group Column (from SP List) then how to add it? The reason, i want to to send emails to the user hence i need a People Column. Thanks in advance.
@ShanesCows
@ShanesCows 4 года назад
This video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-gsk14D-CYRE.html
@davecawthorn2234
@davecawthorn2234 6 лет назад
Thanks Shane, really useful.
@ShanesCows
@ShanesCows 6 лет назад
Glad it helped. Seemed like a lame video but glad it wasn’t. 😻
@cztop54
@cztop54 5 лет назад
What??? None of your videos are lame!
@brianscott6828
@brianscott6828 5 лет назад
These videos are very helpful. Wondering how to set a default value for a field based on other fields. Say a "DisplayName" field based on first name and last name combined. Can the field still be editable? I tried using Set to create the combined value and setting the Default of the field to that variable, but it doesn't seem to work.
@ShanesCows
@ShanesCows 5 лет назад
Brian that should work? Can you give more details of what is happening?
@StevenNel
@StevenNel 4 года назад
Great video again Shane. How would you check if a user is a member of a specific group in Office 365 so that you can hide or show items instead of having to specify the users individually?
@ShanesCows
@ShanesCows 4 года назад
This video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0MB-z9cyFCQ.html
@afreensultana5409
@afreensultana5409 5 лет назад
Hey Shane, thanks for the video so I have a question: 1. In my form I want to have a button which is only visible to managers and it should show all the approved pending or rejected requests that they have until day.I want them to see what forms they have approved or rejected and the users shouldn't see that. SQL is my backend and I have a Column "ManagerAlias" -they approve the form through flow but can you help me get an idea on this please or a video? Most on the security , permissions in PowerApps?
@ShanesCows
@ShanesCows 5 лет назад
You would use a gallery to show them the items they have approved.
@shinkakida
@shinkakida 5 лет назад
Shane You Rock! I have a quick question, I'm trying to filter a gallery list (SharePoint) using the O365User connector, only showing items in the list where the people picker email and delegates match. Here's the line Filter(' Goals (POC)', User().Email = 'Name'.Email & delegates = ' Name'.Email) But it's not working properly. Any thoughts? (BTW delegates is a variable which stores the values returned from the screen load. Set(delegates,Office365Users.DirectReports(User().Email))
@ShanesCows
@ShanesCows 5 лет назад
Delegates is records. You can match that way. You might need the in operator. That is a bit complex.
@33496sheila
@33496sheila 3 года назад
Love your videos. I read through all the comments, ok skimmed through, and didn't find the question I need answered, so probably I am just missing something here. From the video it looks like you are explaining how to get Current Users information. I have a "Choice" field that the submitter chooses who the software is going to be bought for and it may not be the current user. When the requestor/submitter selects the name in Choice field, I need to pull in email, Location, etc. Do you have info on that?
@ShanesCows
@ShanesCows 3 года назад
This should help :) ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-QhGV4AhCFRc.html
@tushargohel3978
@tushargohel3978 5 лет назад
Hi Shane, can we use sharepoint user group here for filtering and conditioning based on group Thanks
@adityap1785
@adityap1785 5 лет назад
Really cool things. Thanks a ton
@ShanesCows
@ShanesCows 5 лет назад
👍
@dobsonad
@dobsonad 4 года назад
Great video Shane, is it possible to have a form where you can autofill user details using the User function but also have a hidden/admin option where specific people can manually fill in user details in a blank form or edit any of the existing forms?
@ShanesCows
@ShanesCows 4 года назад
Yes. You would just have to write logic for all the scenarios
@ppei2012
@ppei2012 5 лет назад
Shane, thank you again for your useful information. I had a question. You showed how to set a control visible based on an email address in your example. Can I set a control based on a SharePoint field, say, user().email = "created by"? I tried, but I had problem to make it working.
@ShanesCows
@ShanesCows 5 лет назад
Yes. That would work. You just need to figure out how to lookup the createdby field you want to compare
@ppei2012
@ppei2012 5 лет назад
Thank you for your reply . I found out that if I select "Created By" field and then hide it in PowerApp, the formula will work. I also add .DisplayName at the end of the formula.
@jk220390
@jk220390 4 года назад
Hey @Shane..very helpful video mate. On the same lines, how to verify with office 365, the windows password entered by a user is correct or not for authentication/login
@ShanesCows
@ShanesCows 4 года назад
They had to have a valid username and password to use the app. So I think you already have that covered. I don’t know any other auth ways
@shunxinge9869
@shunxinge9869 4 года назад
Hi Shane, love your video! I learned so much from you. May I ask one question, I am modifing the 'Meeting Capture' app from MS team to a meeting room agenda application. We issued each meeting room a MS account and book rooms via outlook. But only met one question that the application can only refresh when loading, I wish to set a refresh button. But the grammer of 'refresh' is 'refresh (datasouce). But I cannot just 'refresh (office365outlook). What should I do? Thank you.
@ShanesCows
@ShanesCows 4 года назад
Every time you trigger the Outlook connector it should be refreshed
@shunxinge9869
@shunxinge9869 4 года назад
@@ShanesCows thank you! Good day!
@shunxinge9869
@shunxinge9869 4 года назад
@@ShanesCows Hi Shane, I tried but found my real problem I'd like to put one tablet PC on the room door playing that application to show the room's occupation, so I think that the trigger time is too long unless I reload the application because I need to refresh the room reservation basically every hour. Could you please help to find a better solution? Thank you.
@jennykaluka2850
@jennykaluka2850 2 года назад
Hi Shane, Love your videos. I want to be able to show a tutorial video to first-time users only. Once the person logs in a second time and beyond the video is not shown to them. Is this possible?
@techieeetechnologyleague
@techieeetechnologyleague 5 лет назад
This video helped. Thanks
@ShanesCows
@ShanesCows 5 лет назад
Awesome
@kamranbutt8076
@kamranbutt8076 5 лет назад
Hi Shane, you mentioned in the video that you could have a list of users that can be made to have access to the button. how would i go about setting this up? Thanks
@ShanesCows
@ShanesCows 5 лет назад
Do a lookup to get the user from the list. If they are in the list then show the button. If not, don’t show the button.
@Ikertxu5
@Ikertxu5 4 года назад
@@ShanesCows What happens if I create a Sharepoint List with ROLs.... For example Users in America_ROL can see the button
@widuralatest
@widuralatest 5 лет назад
Hi Shane! As usual enjoyed the vedio. Thanks a lot. I was wondering, how can we use the same hiding and showing controls features based on if the current user belongs to a certain sharepoint user group?
@ShanesCows
@ShanesCows 5 лет назад
There isn't an easy way to query a SharePoint security group. Sorry.
@sunshinelabz
@sunshinelabz 4 года назад
Can we show both parent and child records in same form ?
@Pskpatil
@Pskpatil 6 лет назад
Perfect learning material for PowerApps. Easy to understand. Just have a doubt. Have you tried to connect the PowerApp with SharePoint site and get the list of SharePoint groups which the current logged in user belongs too? I am planning to hide the elements on the app based on user permission or groups. Thanks a million!
@ShanesCows
@ShanesCows 6 лет назад
I have not tried to query for the SharePoint groups a user belongs to. When you figure it out please share with us here. Thanks - Shane
@tenisviejos
@tenisviejos 5 лет назад
I just achieved that through HTTP request via microsoft flow, trigered on powerapps. It's possible.
@akdmkz9926
@akdmkz9926 5 лет назад
Hi Shane Young thanks for your tutorial! I already followed your example but may I ask why when I search, not all office365 users is there? I mean only few i can search. is there other code so that I can search all office365 users?
@ShanesCows
@ShanesCows 5 лет назад
Try this. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-QhGV4AhCFRc.html
@gabrielfilizzola
@gabrielfilizzola 3 года назад
Great 👍🏻👍🏻
@ShanesCows
@ShanesCows 3 года назад
Thanks
@peterhelms-nielsen8838
@peterhelms-nielsen8838 5 лет назад
Another great video. In my organisation, we use distribution lists to manage RLS in Power BI. Is there some way we could implement the same in powerapps (e.g. if you are in the "administrator" distribution list, you get access to the "edit" button?
@ShanesCows
@ShanesCows 5 лет назад
Yes. Lots of different ways to do it. Most simple is set the Visible property to User().Email = "Person@company.com" that you want to see it.
@peterhelms-nielsen8838
@peterhelms-nielsen8838 5 лет назад
@@ShanesCows Ok, but will it work with distribution groups?
@erikk587
@erikk587 3 года назад
Hi Shane, can you do a tutorial on how to add the "User().FullName" to a sharepoint list with a checkbox?..To be used as an accept button.
@ShanesCows
@ShanesCows 3 года назад
I believe this video will show you how to patch it over ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-gsk14D-CYRE.html
@typermode3527
@typermode3527 5 лет назад
Is there a way to use FLOW or PowerApps to find the first vice president by looking at the person that is using PowerApps & go up the organization chain to find the first VP of that person's group/organization.
@ShanesCows
@ShanesCows 5 лет назад
Yes. Just take a little work. You can use this code Set(manager, Office365Users.Manager("shane@powerapps911.com")) to store the manager in a variable named manager. Then check to see if there title contains VP. If not then get that users manager. Climb that way.
@pauldstorey
@pauldstorey 6 лет назад
Really enjoyed the videos Shane and have just finished the first 24. I am wondering if you have any suggestions for the following problem: I have a SharePoint list of a couple of hundred users, including a People Picker column and several which I update using a Flow to extract information from the Office 365 user profile - which I guess I don't need if I use the Office365User connector from PowerApps. Now from within PowerApps I open the list in a data table which is then filtered and which I would like to be able to export. Ideally I would be able to hit a button and Excel would be launched with the contents of the filtered data table displayed in a new worksheet. If this can't easily be achieved then an export of the table contents to a CSV would be great. Any advice would be greatly appreciated. Thanks :-)
@ShanesCows
@ShanesCows 6 лет назад
Hi. I wish I had advice here. No way to export to Excel directly from PowerApps that I know of. :(
@pauldstorey
@pauldstorey 6 лет назад
OK, thanks Shane :-)
@pauldstorey
@pauldstorey 6 лет назад
Hi Shane, I was able to create a collection from the filtered data table and then create an HTML file with a header, collection data and footer from separate text fields, which I was able to send via mail (perhaps a new video suggestion :-) ), however I then decided to try and create a CSV file using the same method of concatenating text fields. I have the field created but don't seem to be able to send using: Office365.SendEmail(User().Email, "Subject", "Body",{Attachments:Table({Name:"name.csv", ContentBytes:TextField.Text, '@odata.type':""})}) I get the blue triangle next to the button and a message that the ".. parameter 'Attachment content' cannot be null.." Is it possible to send anything other than images and videos (I only seem to see these examples anywhere on the web)? Thanks again :-)
@sunshinelabz
@sunshinelabz 4 года назад
Very useful videos Can you make a video where we have to shot records only pertaining to logged in user ? Thanks
@ivanpalacios3965
@ivanpalacios3965 4 года назад
Hello Shane I enjoy a lot your videos, Question about this video: how can I then send the user to a next Screen?
@ivanpalacios3965
@ivanpalacios3965 4 года назад
Forget it thanks I figure it out ONselect Navigate(Screen; Cover) :)
@ShanesCows
@ShanesCows 4 года назад
Glad you got it Ivan
@rinuurs
@rinuurs 6 лет назад
Hi Shane, can you do one for Cascading drop-down along with SharePoint list?
@ShanesCows
@ShanesCows 6 лет назад
I think this will help. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-43ekj5MlNJU.html
@mtamitolanga
@mtamitolanga 5 лет назад
Hi Shane thank you for the video. I'm struggling with something, a user who's a personal assistant captures on the behalf of the manager, in my case I don't need the information of the capturer but the information of the selected user in the form. I have a control that read O365 user but I'm struggling with using this control to read the rest of the fields. Please help. Thank you.
@ShanesCows
@ShanesCows 5 лет назад
The offfice 365 user connector can pull manager and other fields.
@mtamitolanga
@mtamitolanga 5 лет назад
@@ShanesCows I'm sorted. My user field is traveler which is a combobox: Office365Users.SearchUser({top:999}) and I was able to pull for example the email using cboTraveller.Selected.Mail. Thank you very much
@vituxx100
@vituxx100 6 лет назад
Very helpful videos and well explained!! Thank you very much! I am trying to make an APP linked to SQL (on azure or local sqlexpress) with two tables (one to many relationship) for example a phone book where one contact can have many numbers. Would be really great if you could make a video on how to do this... I can submit to individual tables but not to relational.. Thank you for your help in advance
@ShanesCows
@ShanesCows 6 лет назад
I have added that video to the list to be made. In the meantime I think this video shows some of the mechanics but with SharePoint instead. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-43ekj5MlNJU.html
@vituxx100
@vituxx100 6 лет назад
Thanks Shane for your reply, yes I watched that video already, learned some nice tricks from it but unfortunately my project can't be done in SharePoint as it needs relationship for each new item created ideally I would like to use sqlexpress and on-premises data gateway (trying to create something similar to a phone book when next to a new contact field I would have a button to add his number then be able to hit same button to add second number and so on.. problem I am facing is how to link or auto populate CutemerID to contact number so when I run a query I get different numbers against same customer ) Any suggestions much appreciated :)
@mercadomarcos
@mercadomarcos 6 лет назад
I am in a similar scenario. What I am thinking of doing is use the Filter function using the foreign key & primary key of the form's column and lookup table's column, respectively, to define the list of items that will go in the drop down list. Hope this helps.
@AbdurRasyidAR
@AbdurRasyidAR 4 года назад
Shane young I've follow your channel, thanks to create those content, is there tutorial to create menu drawer like using hamburger menu?
@ShanesCows
@ShanesCows 4 года назад
Try this ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-D_Kb7AXSE0s.html
@mblherry
@mblherry 6 лет назад
Great video - thanks again. Question: How does PowerApps handle security and access to data? Meaning, do I have to grant access rights to my source data (Excel, SharePoint, SQL Database)? Or can there be an abstraction layer between the users you share the App with and the data sources their have to use? I notice that when using On-premise Data Gateway and Connection, the user don't need to have access to the source SQL database.
@ShanesCows
@ShanesCows 6 лет назад
It depends. :) For SharePoint and OneDrive (Excel) yes, they need to have access to the data source. For Azure SQL they don't have to have access to the Data Source but they do have to agree to the connection when starting the app. I would say Microsoft knows it isn't perfect but not sure what the long-term vision for it is.
@mblherry
@mblherry 6 лет назад
Does this include SP on-premise through the Data Gateway?
@ShanesCows
@ShanesCows 6 лет назад
You will have to check. I don't recall and I don't want to lie to you. :)
@divyanshusoni3448
@divyanshusoni3448 2 года назад
What if we want to manage user profiles in and excel in onedrive??? How we will validate users from excel data???
@jefflim8895
@jefflim8895 2 года назад
is possible to to create a user outside the office 365 organization? or staff can register an account to be able to login to powerapps for user screen?
@ShanesCows
@ShanesCows 2 года назад
I talk about external access here ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-suk4eLS4A-E.html
@ealexander2488
@ealexander2488 Год назад
How do you fix an email filter if the email address is first name last initial before the @?
@prewpow3115
@prewpow3115 Год назад
Do you have any video that shows how to add a new user and password into a Sharepoint list?
@kevinstevenson2927
@kevinstevenson2927 3 года назад
Hi Shane, i have a dropdown on my form with 365 users email addresses. If I select one i would then like to populate a textbox with their displayName, I have tried using Office365Users.SearchUser({searchTerm:ddMail.SelectedText).Displayname but the text box error says it returns a record not a text. What am i doing wrong please?
@ShanesCows
@ShanesCows 3 года назад
If you are using Office365Users.SearchUser() to populate your dropdown then in your Textbox use ddMail.Selected.DisplayName since you will already have it.
@shivanigoel5315
@shivanigoel5315 5 лет назад
Hi Shane, I am trying to add the searchUser() Office365Users function for one of the fields in Sharepoint list form that's customised in PowerApps. Could you please suggest if this is even possible?
@ShanesCows
@ShanesCows 5 лет назад
Yes, it is should be possible. But you can also use the Choices function to get the choices from the people column.
@pree0119
@pree0119 4 года назад
Can you please make a video on Auto filling the values from SharePoint list to the specific field ( without using Office365Users). It will be helpful
@ShanesCows
@ShanesCows 4 года назад
Not sure where you would get the data.
@virgolove9274
@virgolove9274 3 года назад
this is awesome thank you so much for this. by any chance could you show how to extract the email address using the FROM id of the email? ive embedded the powerapps link into a email, so the user click on the link and it opens powerapps, but now i need to pull the email address of the person whom sent the email and not the one receiving it?... if that makes sense..
@ShanesCows
@ShanesCows 3 года назад
Not possible that I know of. Maybe write the From as part of the link. Do you know deep linking? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-A5Pi5P2YKds.html
@virgolove9274
@virgolove9274 3 года назад
@@ShanesCows yup that's exactly what I did and it worked.thanks.
@papithasekar9567
@papithasekar9567 4 года назад
hello Shane, I have used Office365Users.UserPhoto(User().Email). Am getting error Office365user.Userphoto failed error { code : 502 ...............} If i use user().Image am getting sample image not my profile picture. I have uploaded my profile pic in office 365 two days ago.
@ShanesCows
@ShanesCows 4 года назад
Not sure. Sorry. Your code looks right
@gtrj55tgjr
@gtrj55tgjr 5 лет назад
i dont understand where to put this condition to navigate to the screen when approver is current user f(DataCardValue3.Selected.Email=User().Email,Navigate(ApproverScreen,ScreenTransition.None),Navigate(FormScreen1,ScreenTransition.None)) 1. sharepointIntegration 2. FormScreen1 where first screen come first here i want to navigate approver form when DataCardValue3.Selected.Email=User().Email is true otherwise come to the first screen Thanks in Advance
@ShanesCows
@ShanesCows 5 лет назад
Answered the other comment.
@shinshae7882
@shinshae7882 3 года назад
Hi Shane I displayed current user name in a text box, I have one manager field, how can I display current user manager name? Got the solution from your another video Thank you Soooo much
@ShanesCows
@ShanesCows 3 года назад
Awesome! I was going to send a link. Glad you found it. 🤩
@rebeccaj138
@rebeccaj138 6 лет назад
Is there a way to pull groups of user or even if the security groups has email address to be able to show or hide the button.
@ShanesCows
@ShanesCows 6 лет назад
One of my customers has a list of all of the email addresses who have access then they check that list of the user email address is in the list. That is my first idea?
@rebeccaj138
@rebeccaj138 6 лет назад
Shane Young OK. Only issue I see is that if a company is used to using security groups and adding users to those then we are now having them add users to a list to so they have access to something security trimmed.
@ShanesCows
@ShanesCows 6 лет назад
It is pretty complicated but there is a blog post on how to do it. Maybe something I need to try one of these days. :) powerapps.microsoft.com/en-us/blog/implementing-role-based-permission/
@rebeccaj138
@rebeccaj138 6 лет назад
Shane Young thanks will take a look.
@rayrivera1830
@rayrivera1830 5 лет назад
is it possible to pull an user's AD username from some connector? didn't find it in office365users.
@ShanesCows
@ShanesCows 5 лет назад
User().DisplayName doesn’t get you what you want?
@rayrivera1830
@rayrivera1830 5 лет назад
that gives me the full name, but I'm trying to get the user id like at windows login.
@Fernando_Calero
@Fernando_Calero 4 года назад
Hi Shane, I tried to match the Department with a dropdown control using: Office365Users.UserProfileV2(User().Email)).department = Dropdown3.Selected This gets an error: "Invalid argument type", highlighting in red the "=" sign. Then with this other code: If(Office365Users.UserProfileV2(varUserEmail).department = Dropdown3.Selected, "Yeay", "Buh") I get the following error: "Warning: expecting a true of false value". But this code alone gets the Department with no problem: Office365Users.UserProfileV2(User().Email).department Could you please share your thoughts on what is wrong with me? Thanks
@ShanesCows
@ShanesCows 4 года назад
Dropdown3.Selected.Value I think is the missing piece
@aboody130306
@aboody130306 6 лет назад
Very good stuff as usual. But still I am waiting for my SQL app with a parent and child relationship with lookups & cascading dropdownd
@ShanesCows
@ShanesCows 6 лет назад
Still on the list. Did you watch this video? Would be the same thing except you would use SQL instead of SharePoint.
@aboody130306
@aboody130306 6 лет назад
Shane Young I do wait for the whole week to watch your new video.Due to delegation issues I avoid using SharePoint
@ShanesCows
@ShanesCows 6 лет назад
Sorry it might be a bit before I make the exact video you want. The good news is this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-43ekj5MlNJU.html shows you exactly what to do. I use SharePoint but the steps would be the same in SQL. Sorry, thought I posted this link last time.
@mercadomarcos
@mercadomarcos 6 лет назад
I am in a similar scenario. What I am thinking of doing is use the Filter function using the foreign key & primary key of the form's column and lookup table's column, respectively, to define the list of items that will go in each one of the drop down lists. Hope this helps.
@snehalpatel7441
@snehalpatel7441 5 лет назад
Hi Shane, this is an awesome video. It truly saved me time trying to figure out how to get the intelleSense to show the Office365….. It works perfectly when I complete my power app but doesn’t work with another office 365 accounts. My button has the following code Onselect. Office365.SendEmail(DataCardValue1.Text,"You have completed survey for ",Dept_Dropdown.Selected.Value) The DataCardValue1 is User().Email and it’s fetching the info correctly. Please advice at your convenience. Thank you!
@snehalpatel7441
@snehalpatel7441 5 лет назад
Nevermind. Got it. Silly me, forgot to publish the app.
@ShanesCows
@ShanesCows 5 лет назад
Glad you got it 😀
@RanmaSaotome666
@RanmaSaotome666 3 года назад
Hi Shane, probably you are my only hope I'm having a canvas app working with dataverse tables. In the app i hav a simple Gallery to search and select between peopl from the "Contact" table, and everything is fine, only the Photo pushes back a strange error: Although i've implemented an error handling in case of no profile photo uploaded, and it works because it shows a dummy photo : "nophoto", it writes me back that the parameter is not good or no resource found...etc the short line on the photo is the following If(Office365Users.UserPhotoMetadata(ThisItem.Email).HasPhoto=true ,Office365Users.UserPhotoV2(ThisItem.Email) ,nophoto) do you have any idea, suggestion? I'm getting crazy thx in advance!!!!!
@ShanesCows
@ShanesCows 3 года назад
I wish I knew. I haven’t tried that so not sure. Sorry
@tmoney112e
@tmoney112e 2 года назад
Thanks
@ShanesCows
@ShanesCows 2 года назад
Happy to help :)
@OptimusCrist
@OptimusCrist 5 лет назад
Let say I have fileds 1.- User selected in people picker (Jonh Doe) 2.- Yes/No filed. I want the filed YES/NO to be show only of the user using the app is the one selected in te filed 1. I´ve tried this, but did not work: If(DataCardValue63.SelectedItems.Email = Lower(User().Email), true, false)
@ShanesCows
@ShanesCows 5 лет назад
Try changing SelectedItems to Selected
@eminentsocialist2720
@eminentsocialist2720 2 года назад
Can we create a Gallery with data source as Office 365 user ?
@ShanesCows
@ShanesCows 2 года назад
Yea. SearchUsers returns a table as output. Put that in the Items property
@sudhakaranna2171
@sudhakaranna2171 4 года назад
Shane young could you plz help to get the current user manager and his manager manager details
@ShanesCows
@ShanesCows 4 года назад
Office365Manager(user().email) should get the record
@dcm9058
@dcm9058 4 года назад
i want to use email id of my group members as access to the app. how can i do that? any input? thanks a bunch
@ShanesCows
@ShanesCows 4 года назад
Replied to your other comment. I think this video helps ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0MB-z9cyFCQ.html and sorry I missed this the first time.
@dcm9058
@dcm9058 4 года назад
Hi shane, i was able to make it work already. Thanks a lot
@jjayceeb
@jjayceeb 3 года назад
Thankyou 😭
@ShanesCows
@ShanesCows 3 года назад
Happy to help
@gokurukay1234
@gokurukay1234 3 года назад
good video , i want to ask how to create more then one user full name or user email name? thanks
@ShanesCows
@ShanesCows 3 года назад
I don’t understand. Sorry
@gokurukay1234
@gokurukay1234 3 года назад
@@ShanesCows your video give sample 1 user ( example your name) , i want make more then 1 name can i?
@sudhakaranna2171
@sudhakaranna2171 4 года назад
How to show could you please give some clue or if possible plz do one demo video on that also. Plz..
@ShanesCows
@ShanesCows 4 года назад
Responded to your other comment
@sagaisaac
@sagaisaac 4 года назад
if possible creating a page with login and password of user in office 365?
@ShanesCows
@ShanesCows 4 года назад
Not that I know of. They have to already be logged in to use the app. Not sure why you need this.
@turbofinal1
@turbofinal1 4 года назад
I need this too. u can do rigt? now thx for answer bro
@rajarn7566
@rajarn7566 4 года назад
Based on Power app login credentials can we pull the user details in an excel, working on a project have some more queries too, how can I contact u
@ShanesCows
@ShanesCows 4 года назад
www.PowerApps911.com contact us
@rajarn7566
@rajarn7566 4 года назад
Have already requested yesterday,awaiting for response
@rajarn7566
@rajarn7566 4 года назад
I can use user function for name and email I’d, can I get the emp I’d for the same,actually email I’d consists of emp # @xxxx.com, can we pull emp I’d separately
@eugeniopazrodriguez8911
@eugeniopazrodriguez8911 Год назад
Can we see the entire table where User.Fullname() is working? Where is it stored?
@ShanesCows
@ShanesCows Год назад
You would need to add the Office 365 Users connector to your app. That will then expose all of the information stored about your user's account.
@eugeniopazrodriguez8911
@eugeniopazrodriguez8911 Год назад
@@ShanesCows from wich table is searching for the information the connector? Can I see that table on dataverse? Wich is the name of the table?
@ShanesCows
@ShanesCows Год назад
@@eugeniopazrodriguez8911 There is a dataverse table for AAD users but it doesn't have all of the info. You need to use the Office 365 Users connector to get all of the data.
@eugeniopazrodriguez8911
@eugeniopazrodriguez8911 Год назад
@@ShanesCows Thnks Shane for your response, Would you help me on this? how Can I see the User.FullName() assigned to each email in my organization?
@ganityadav177
@ganityadav177 3 года назад
Hello Shane, how can i get my managers email address? using office 365 user?
@ShanesCows
@ShanesCows 3 года назад
There is a Office365USers.GetManager action.
@ganityadav177
@ganityadav177 3 года назад
@@ShanesCows long live shane young
@johanbuitrago8284
@johanbuitrago8284 5 лет назад
¿How works with several users?
@sukhmeetsd
@sukhmeetsd 5 лет назад
Did you come to know?
@ShanesCows
@ShanesCows 5 лет назад
No problem. Each session is unique.
@ShanesCows
@ShanesCows 5 лет назад
It works.
@betsyk.9780
@betsyk.9780 5 лет назад
@@ShanesCows I am looking for one with several users because this " Office365Users.DirectReports(" does not work. Thanks Shane
@avheeaziz5877
@avheeaziz5877 4 года назад
current_users_lower = [user.lower() for user in current_users] Sir can't understand this code Full exercise current_users = ['eric', 'willie', 'admin', 'erin', 'Ever'] new_users = ['sarah', 'Willie', 'PHIL', 'ever', 'Iona'] current_users_lower = [user.lower() for user in current_users] for new_user in new_users: if new_user.lower() in current_users_lower: print("Sorry " + new_user + ", that name is taken.") else: print("Great, " + new_user + " is still available.")
@ShanesCows
@ShanesCows 4 года назад
Try the in operator ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-9d3R336y-j8.html
@morghancastorena8712
@morghancastorena8712 4 года назад
Hi Shane - thank you for the great video. What is the syntax for the User function if wanting to make the button visible to more than one user? I really just need to have a single data card visible for about 5 users.
@morghancastorena8712
@morghancastorena8712 4 года назад
I ended up finding it: User().Email="first@company.com"||User().Email="second@company.com"||User().Email="third@company.com"
@ShanesCows
@ShanesCows 4 года назад
Lots of other ideas in this video. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0MB-z9cyFCQ.html
@rodolfo602
@rodolfo602 4 года назад
is it possible to get all users images with Office365 connector onto a gallery?
@ShanesCows
@ShanesCows 4 года назад
Never tried but I would think so. Maybe add the Office365 Users datasource and then use it in a gallery
Далее
PowerApps Office 365 User Search
25:17
Просмотров 129 тыс.
В GEOMETRY DASH СДЕЛАЛИ GTA
00:27
Просмотров 572 тыс.
Intro to the PowerApps If Statement
28:35
Просмотров 102 тыс.
PowerApps User() function & Office365Users
13:21
Просмотров 24 тыс.
PowerApps Filter Gallery by the Current User
22:16
Просмотров 115 тыс.
12 Tips to Get More Done Using Microsoft Outlook
26:43
PowerApps Custom Forms to look more like InfoPath
24:53
Power Apps Menu Navigation (as a Component!)
18:57
Просмотров 52 тыс.
Implementing Role Based Security in Power Apps
23:54
Просмотров 155 тыс.
Share Power Apps with Users and Guests
11:43
Просмотров 51 тыс.
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
Смартфон УЛУЧШАЕТ ЗРЕНИЕ!?
0:41