cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
P-M
Helper I
Helper I

Arrays in Connection with Office365Users (Data Connection) - "Business Phones"

Hello Again.

 

I am facing another problem while trying to create an Application in PowerApps.

 

This time I was trying to fill out a Textfield using the Office365 Users Data Connection.

Now this works in itself, however whenever I try to use the User Object "Business phones" which uses the Type "Array of String" I cannot access the Data and am unsure how to call upon each entry.

 

This is how I currently try to access the data from it, this is not functional and returns an error because I never specified what part of the array I would like to get returned.

Office365Users.MyProfileV2().businessPhones

 

I believe that the "Business Phones" User Object holds all the different phone numbers entered, saving them under different names within the Array, my Problem being that I cannot call upon these objects because I am unaware of the names they have been given within the array.

I've attached a picture which shows how the data is (probably) included into the array.

 

My Question would be:

How can I access the Array (specifically the .businessPhones one)?

How do I find out how the array entries are named?

 

 

Thank you very much, I am looking forward to your replies.

PM

1 ACCEPTED SOLUTION

Accepted Solutions

First(Office365Users.MyProfile().BusinessPhones).Value

 

This is how you would access the first Value, eventually found it out myself.

 

 

View solution in original post

2 REPLIES 2
P-M
Helper I
Helper I

I haven't been able to figure this out yet.

 

Has anyone ever worked with these kind of arrays?

 

Any help would be greatly appreciated.

First(Office365Users.MyProfile().BusinessPhones).Value

 

This is how you would access the first Value, eventually found it out myself.

 

 

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (902)