0

I have made a power app which returns a list of Email Address of SharePoint owners.

I need to remove the part of email and curly bracket from the output (Please refer image). How to do that?

enter image description here

3
  • Which action have you used to return the results from flow to app? What is the structure of returned results, array of objects? Commented May 29, 2023 at 8:53
  • I used Graph API to get the O365 owner details (Mistakenly typed sharepoint owners, but its O365 group owners). Then used select operation to get only email field from the output>> used join operation and joined the output of emails with ";". Finally used respond to powerapps and set variable to powerapps to get the result.(Used split operation in powerapps to get the result in gallery. Commented May 29, 2023 at 9:54
  • Check my answer given below and let me know if it works for you. Commented May 29, 2023 at 13:41

1 Answer 1

0

First of all, make changes to your Power automate flow like:

enter image description here

Expression used in Respond to PowerApp for flow action:

join(body('Select'),';')

Then in Power Apps:

  1. Call your flow and collect email addresses using formula:
Set(varEmailAddresses, FlowName.Run().emailaddresses)
  1. Add Gallery control in your app and set its Items property to:
Split(varEmailAddresses, ";")
  1. Add Label control inside gallery control and set its Text property to:
ThisItem.Value

Output:

enter image description here

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.