How to create table using html code in uipath explain which activity we do this task

How to create table using html code in uipath

@Rai_Ravi_Cognizant
you can use this module to convert datatable to html string
input datatable variable and output html string
Convert_DataTable_X_HTML.XAML (13.2 KB)

@jack.chan my question is how to create table in mail body using html

Associate ID Associate Name BM Goal Setting status
462276 Rajarajeswari G Not initiated
532168 Sanath Aduri Not initiated
557579 Shruti Sawant Not initiated
733615 Jiju Prabhakaran Nair Not initiated
@jack.chan like that

Hey @Rai_Ravi_Cognizant

Please try this - Xebia - DataTable to HTML Table Conversion - RPA Component | UiPath Marketplace

The above will help you convert table to html string which can be passed into email body.

Thanks
#nK

@Rai_Ravi_Cognizant

yes just use the module

test.xlsx (11.6 KB)
exampleemail.xaml (7.7 KB)

Convert_DataTable_X_HTML.XAML (13.2 KB)

Example excel

Example

result

@Rai_Ravi_Cognizant
I have converter with desirable css. please use this and get rid from problem
DataTableToHtml.xaml (21.1 KB)

HTML is just a string.

Assign myHTMLString = "<TABLE><TR><TD>Value</td></tr></table>"

Then use myHTMLString where you want to put the HTML table.

@jack.chan Thankyou its working for me

1 Like

Hello @Rai_Ravi_Cognizant

You can use create html content activity.

Thanks

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.