cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Rbie
Frequent Visitor

sending collection as attachment without automate

Hi,

 

I have a small apps that send a collection as a list in the body via outlook, like

ClearCollect(myCSV;{csvString:"AssetID"&Char(10)});;
ForAll(
ScannedAssets;
Patch(
myCSV;
First(myCSV);
{csvString: First(myCSV).csvString&AssetID&Char(10)})
);;

Set(myList;First(myCSV).csvString);;

 

Office365Outlook.SendEmail("myEmail@MyCompany.com"; "AssetList"; myList)

This works.

I was just wondering if it possible to send this as an attachment, so they don't have to cut and paste this into a text file ?

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @Rbie ,

Not easily as you need to turn it in to file rather than a bunch of Text. This may be possible with the process in this video from Shane Young, but you need a Premium connector (and therefore licence) to do it. It is however very easy using Power Automate - just create a file in OneDrive with the content and email it.

 

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 @Rbie ,

Not easily as you need to turn it in to file rather than a bunch of Text. This may be possible with the process in this video from Shane Young, but you need a Premium connector (and therefore licence) to do it. It is however very easy using Power Automate - just create a file in OneDrive with the content and email it.

 

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

 

Hi Warren,

Thanks for the reply, the solution in the video doesn't really work for me as I don't want the user to choose a file.

I'll just stay with the solution I have atm.
I was just curious if it could be done.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (1,954)