236
Views
11
Comments
Sending email with that contains a table
Question
Application Type
Reactive

Hello Guys...

Is there a way I can send an email that will contain a table that is in the screen? (Not as attatchment)

I wanted to be able to send the tabel below in an email .... But on the email it shows up empty.... It doesn't even show the correct table


2024-03-22 09-17-23
Chandra Vikas Sharma

Hi ,

Yes you can send email will contain a table. you need to create template and in that template you need to design a table look and feel.


UserImage.jpg
Ide Fatsha

Can the table that will be sent in the email be an actual table with real data on a particular screen?


2024-03-22 09-17-23
Chandra Vikas Sharma

Yes actual table with real data.

2024-12-10 04-40-04
Gitansh Anand

Hi @Ide Fatsha, Yes, it can be achieved. What is the application type where you are creating the email template? Is it traditional or reactive?

UserImage.jpg
Ide Fatsha

Reactive

2024-12-10 04-40-04
Gitansh Anand

Hi @Ide Fatsha, Since your email template is reactive, the answer given by @Rahul Sahu is correct. Please look at it.

UserImage.jpg
Alexandre Yip

Hi Ide Fatsha, 

just built that screen, in the email widget, in the preparation of the email widget use aggregate to load the data. If I'm not mistaken if you drag the entity to the email widget it would create the table and aggregate like in the screen. 

Hope that it helps you 

2026-02-26 06-29-24
Rahul
 
MVP

Hi,

In Email template of Reactive You can take input variable as list type of your entity or structure.
And design accordingly template. see below image


Hope this will help you.

2023-01-03 11-55-04
Suchita Khandelwal

Hey!

You need to design a template for the same and you can easily send the contents of the table.

2020-07-29 19-08-40
Sanjay Kumar Sahu

Hi @Ide Fatsha,

I believe you have already created table template in email screen, but somehow that template represents a different table. I will suggest first check mapping of your email table if it is mapped to correct aggregate/data. 

You basically achieve your requirement in 2 ways, either create a new aggregate in email screen with same filters as your web screen or send your web screen data to email screen as input parameter. I will suggest you to go with second way as you already have data in screen and you might need to send customized data in email, so copy your aggregate data to a local variable of List type and send that data to your email screen as input parameter.





2023-03-03 11-03-26
Faizan Ul Haq

Hi here's how you can solve this,
create a variable to capture the values in the list (preferably that its a input variable to the send email screen action).
No use "for each" action to loop the items in table and make the HTML content with th and tr tags based on your needs.
Append the text into your email body.
Thank you

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