DatatableToHtmlTableString package is not available

Hello Robot Masters,
DatatableToHtmlTableString package is not available in manage package.
is there any alternate or similar package available to support 2023 version of UiPath.

Your quick help would be greatly appreciated.

  • RK

@rkelchuri

You can use create html content activity

Where you can add a datatable and it would gice the output html table

Cheerd

1 Like

Hi,

How about the following expression?

"<table border><tr><th>"+String.Join("</th><th>",dt.Columns.Cast(Of DataColumn).Select(Function(dc) System.Web.HttpUtility.HtmlEncode(dc.ColumnName)))+"</th></tr><tr>"+String.Join("</tr><tr>",dt.AsEnumerable.Select(Function(r) "<td>"+String.Join("</td><td>",r.ItemArray.Select(Function(o) System.Web.HttpUtility.HtmlEncode(o.ToString)))+"</td>"))+"</tr></table>"

Sample
Sample20231209-1Lv3.zip (3.0 KB)

Regards,

@Yochi,
when i open your xaml file i got missing activates issue.
then i upgraded UiPath.System.Activities package and activities are good.


just for other community users, i am posting this information.
Thanks

1 Like

Hi @rkelchuri

Try using Create HTML content activity which is present within UiPath.Mail.Activities package.

Hope it helps
Regards