27
Views
4
Comments
Create an ExcelList and attach this to an Email
Question
Application Type
Reactive

Create and Download an Excel-List works fine.

Now I want to create an ExcelList and attach those to an email without any interaction.

I have created a Server-Action which gets as an input parameter a List of Structures.

Within the Server Action I use "RecordListToExcel" and add the result to the output of the Server-Action

This Data seems to be corrupted as it is empty.


2023-10-21 19-42-11
Tousif Khan
Champion

Hello

So as you have already created a logic for  the excel binary file now you just need to pass the binary file to the email I am attaching a link which explain step by step process to attach any file to email.
https://success.outsystems.com/documentation/11/developing_an_application/implement_application_logic/emails_in_mobile_and_reactive_web_apps/adding_email_attachments/

I hope this will help
Best Regards
Tousif Khan

UserImage.jpg
Jens Vogelgesang

Thanks for the answer, the problem is, that the file is empty. There seems to be some magic done, if Download is done which is missing if I just assign it to an binary output variable.

Using the same method together with the download Actions gives a working Excel-Sheet.

Attaching the file (empty) does work fine.

UserImage.jpg
Jens Vogelgesang

Solved in between

2023-10-26 08-43-17
Samy Sah

Hello, what did you do to fix that ?


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.