Every tutorial i watch have Office365User on a individual ComboBox. I was using Sharepoint Person Type colum till now. And i'd like to move on to this connector. but, there are still some basic things i can't wrap my head around. I have a simple form which has a sharepoint as backend.
Column Name Type
Name Text
POC Person
POCManager Person
When i create a form in powerapps it will by default will give me combobox in datacard with sharepoint person type column logic inside it: Choices([@ListName].POC)
Should i change this code to office365User.SearchUser() ?????
No, since Sharepoint is already connected to this connector, you can retrieve any information via the form.
Only in case you'd like to perform other actions for which you are not going through your Sharepoint datasource, you can use this connector.
More information on the use of Office 365 Users connector in PowerApps can be found here:
Connect to Office 365 Users connection from Power Apps - Power Apps | Microsoft Docs
If i want to use office365 connector what will be the sharepoint column type to store that office365user i have selected in form?
You have already selected the correct type: Person
I have 2 data card on form one for employee other for manager. Manager will be non editable. When a person selects employee his manager will be auto filled in manager datacard.
For that i am using defaultselected property of manager combobox as
Office365SearchUser.ManagerV2(Datacarad1.Selected.Id).
It shows error. Expected record type.
Try something like:
Office365Users.Manager(DataCardValue1.Selected.Email).mail
User | Count |
---|---|
251 | |
102 | |
94 | |
48 | |
37 |