Edit / Create HTML Content - Missing header / First Datarow in Bold

Hi,

I’m doing a simple exercise of extracting data table using Table Extraction from a website then send an email containing the table. I have no problem in extracting the table and saving it inside the project notebook excel file: nothing is missing including the header. But if I extract the table, save it as a variable then use it directly in the Send Email activity (Body: HTML), the header of the table is somehow missing. Sure I can do a turnaround by sending the table as attachment instead, but I’m just wondering if there’s an explanation on the missing header.

Thanks!

1 Like

Are you using Create HTML content Activity?

Hi @Zoul_BZ
Just need to know one thing, how u are converting your tables to html table ?

Hi @kumar.varun2 . No, it is the HTLM editor in the Send Email activity.

Hi @NIVED_NAMBIAR I don’t know if there is a conversion happening. What I did is just using The Table Extraction wizard, add data, select one column of the table, then preview the table. As you can see, the header is still there in the Preview.

Then I assigned the extracted table to the fifaTable variable:

image

Use the Send Email activity, select HTML body and open the editor:

Add data values, then Map “Table” to the saved variable “fifaTable”.

And the email result as follows, where the header is missing:

image

Cheers.

I have noticed the same…

For me it seems that header should be included, as first line is in bold.

Ladislav

1 Like

hello

try adding something adding a blank row(1st row)

Hi, Im having the same issue. Where you able to solve it?

Hi @Luis_Fernando, I’ve faced the same header issue with Create HTML content activity while sending a table in mail body. Here is the work around I did to fix.

  1. Once you have the datatable that needs to be sent in mail (Ex: dt1)
  2. Write it to a excel sheet using write range activity (Enable “Add Headers”)
  3. In very next step, do a Read range (Disable “Add Headers”) and store it in a different variable “dt2”
  4. Now, pass this dt2 in your Create HTML content activity and try sending it in the mail body.

Attaching xaml for your reference

createHtmlContent.zip (9.3 KB)

Best,
Aswin Sridhar