Ok I have a pretty simple question but I'm having a hard time finding or figuring it out.
I have a simple variable being created by :
Set(varPresident, Office365Users.SearchUser({searchTerm: "Paulk"}));
Now when I look under Variables I see that this variable is a table and hold all the data I'm trying to retrieve.
Now if I wanted to just put it to a simple label it will not take. I thought it would be just be putting this under the text attribute:
varPresident.Mail for the Mail column Data or say varPresident.displayName but this does not work.
If I create a variable like:
Set(varTest4,{label:"test", label2:"test2"})
I have no issues setting the text of the label with varTest4.label4 which would be test2 on the label. Why is this.
I thought even that I would need to put in varPresident[0].Mail but that also didn't work. I'm missing something here and I'm sure its pretty simple for someone that actually understands powerapps. This is only my 2nd day messing around with it so your patients is greatly appreciated.
Hope this makes sense.
Cheers
Chris