Need to generate an email that may contain multiple iterations of a web block

Need to generate an email that may contain multiple iterations of a web block

  
I need for a user to preview on the screen and send an email which formats data in a particular format and depending on how many records there are, repeat that format for each record. How can this be down in Outsystems?

I've constructed a web block to format a single record with it's formats and colors, etc. What I'm not seeing is a way to reuse this format in an email when multiple records are involved.

Example:
Single record email-
<Header>
<Formatted data>
<Footer>

Multi-record email-
<Header>
<Formatted data 1>
<Formatted data 2>
<Formatted data n>
<Footer>

Thanks!
Gerald Seidl wrote:
I need for a user to preview on the screen and send an email which formats data in a particular format and depending on how many records there are, repeat that format for each record. How can this be down in Outsystems?

I've constructed a web block to format a single record with it's formats and colors, etc. What I'm not seeing is a way to reuse this format in an email when multiple records are involved.

Example:
Single record email-
<Header>
<Formatted data>
<Footer>

Multi-record email-
<Header>
<Formatted data 1>
<Formatted data 2>
<Formatted data n>
<Footer>

Thanks!
 
 Hi Gerry,

If I understood correctly you want to do something like this:

If it is, you just need to use a record list:



Hope that this helps,

Happy coding!