I'm building an app for our annual reviews and using collections so save local data for calculation purposes. At the end of the review i have a submi button that uses a Flow to send an mail. I want to be able to include the collection information that as selected throuhout the app in the email. I have multiple collections that would be included in the email.
Solved! Go to Solution.
Hi @YAbramenko1,
Could you please share a bit more about your scenario?
Do you want to pass a Collection from your app to a flow, then embed it within the Body part of the email?
If you want to pass a Collection from your app to a flow, then embed it within the Body part of the email, I afraid that there is no direct way to achieve your needs in PowerApps currently.
Currently, Microsoft Flow only accepts String Text value as Parameter value passed from an app.
As an alternative solution, you could consider take a try to concatenate values within the Collection into a Single one String value with a specific separator (e.g. #), then pass the Text String value from your app to the flow. Within the flow, you could use Split function to split the string value into an array value.
Please check and see if the following blog would help in your scenario:
https://www.techmikael.com/2017/05/saving-collection-of-images-from.html
In addition, the user @mtxe32 has faced same needs with you, please check the response within the following thread:
https://powerusers.microsoft.com/t5/General-Discussion/Using-Collection-Content-in-a-Flow/m-p/8677
Best regards,
Kris
Hi @YAbramenko1,
Could you please share a bit more about your scenario?
Do you want to pass a Collection from your app to a flow, then embed it within the Body part of the email?
If you want to pass a Collection from your app to a flow, then embed it within the Body part of the email, I afraid that there is no direct way to achieve your needs in PowerApps currently.
Currently, Microsoft Flow only accepts String Text value as Parameter value passed from an app.
As an alternative solution, you could consider take a try to concatenate values within the Collection into a Single one String value with a specific separator (e.g. #), then pass the Text String value from your app to the flow. Within the flow, you could use Split function to split the string value into an array value.
Please check and see if the following blog would help in your scenario:
https://www.techmikael.com/2017/05/saving-collection-of-images-from.html
In addition, the user @mtxe32 has faced same needs with you, please check the response within the following thread:
https://powerusers.microsoft.com/t5/General-Discussion/Using-Collection-Content-in-a-Flow/m-p/8677
Best regards,
Kris
Hi Kris,
Thank you for response. I've looked through those posts before and ran into the same issues.
I've switched to putting it into an html text and then running the html through the SendEmail function. This seems to work but it does not format properly and sends the html text and data instead of just the data. Also it seems to send 3 copies of the last data in the email.
Hi Kris,
I did some research and had to use the HTML route and was able to get my information out.
Thank you for the support!
I was able to get this issue by using the JSON method in powerapps. I have detailed it on the below article :
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
209 | |
194 | |
82 | |
58 | |
38 |
User | Count |
---|---|
303 | |
249 | |
120 | |
83 | |
55 |