cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jarrodm
New Member

Email won't show from collection

I have a simple contact gallery that shows all my contacts from Office365Outlook. However I can't get the email to show in the gallery. It seems to be getting pulled into the collection just fine but I can't get it to show when I select the item either. I get the error "This formula uses scope, which is not presently supported for evaluation."

 

this is the code I'm using for collection and couple of screen shots to give you some idea of what I'm trying to do.

 

 

 

ClearCollect(selectedcontact,{DisplayName:ThisItem.displayName, Company:ThisItem.companyName,Email2:ThisItem.emailAddresses.address})

 

 

 

AppAppCollectionCollectionSub table for emailsSub table for emails

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @Jarrodm ,

Try this instead

Email2:First(ThisItem.emailAddress).address

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

View solution in original post

2 REPLIES 2
WarrenBelz
Super User
Super User

Hi @Jarrodm ,

Try this instead

Email2:First(ThisItem.emailAddress).address

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

View solution in original post

@WarrenBelz that actually did work I just had to make address plural

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

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 (1,709)