<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Search for VB script for converting collection as HTML table in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Search-for-VB-script-for-converting-collection-as-HTML-table/m-p/98265#M46065</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In my project I need to send a collection as an Email body &amp;nbsp;table. I read some articles related to this. I have seen that it is possible with HTML table. Can anyone share a VB script for converting collection to HTML table as text?&lt;/P&gt;
&lt;P&gt;Note that the collection row is dynamic.&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Dear M,&lt;/P&gt;
&lt;P&gt;Please find attched information.&lt;/P&gt;
&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="137" style="border-collapse: collapse; width: 103pt; height: 92px"&gt;&lt;COLGROUP&gt;&lt;COL width="137" style="width: 103pt" /&gt; &lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR height="20" style="height: 23px"&gt;
&lt;TD height="20" class="xl65" width="137" style="height: 23px; width: 103pt; text-align: center"&gt;&lt;STRONG&gt;Name&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR height="20" style="height: 23px"&gt;
&lt;TD height="20" class="xl65" style="height: 23px; text-align: center"&gt;A&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR height="20" style="height: 23px"&gt;
&lt;TD height="20" class="xl65" style="height: 23px; text-align: center"&gt;B&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR height="20" style="height: 23px"&gt;
&lt;TD height="20" class="xl65" style="height: 23px; text-align: center"&gt;C&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;E&lt;/P&gt;</description>
    <pubDate>Mon, 31 Jul 2023 07:59:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-07-31T07:59:40Z</dc:date>
    <item>
      <title>Search for VB script for converting collection as HTML table</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Search-for-VB-script-for-converting-collection-as-HTML-table/m-p/98265#M46065</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In my project I need to send a collection as an Email body &amp;nbsp;table. I read some articles related to this. I have seen that it is possible with HTML table. Can anyone share a VB script for converting collection to HTML table as text?&lt;/P&gt;
&lt;P&gt;Note that the collection row is dynamic.&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Dear M,&lt;/P&gt;
&lt;P&gt;Please find attched information.&lt;/P&gt;
&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="137" style="border-collapse: collapse; width: 103pt; height: 92px"&gt;&lt;COLGROUP&gt;&lt;COL width="137" style="width: 103pt" /&gt; &lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR height="20" style="height: 23px"&gt;
&lt;TD height="20" class="xl65" width="137" style="height: 23px; width: 103pt; text-align: center"&gt;&lt;STRONG&gt;Name&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR height="20" style="height: 23px"&gt;
&lt;TD height="20" class="xl65" style="height: 23px; text-align: center"&gt;A&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR height="20" style="height: 23px"&gt;
&lt;TD height="20" class="xl65" style="height: 23px; text-align: center"&gt;B&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR height="20" style="height: 23px"&gt;
&lt;TD height="20" class="xl65" style="height: 23px; text-align: center"&gt;C&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;E&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 07:59:40 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Search-for-VB-script-for-converting-collection-as-HTML-table/m-p/98265#M46065</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-31T07:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Search for VB script for converting collection as HTML table</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Search-for-VB-script-for-converting-collection-as-HTML-table/m-p/98266#M46066</link>
      <description>&lt;P&gt;Hi Ekram,&lt;/P&gt;
&lt;P&gt;you can create table row dynamically for the values available in collection as below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35768.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35788i3727622A298BD8AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="35768.png" alt="35768.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please let me know if you need any further help. Thanks&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Abhinav&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 15:10:23 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Search-for-VB-script-for-converting-collection-as-HTML-table/m-p/98266#M46066</guid>
      <dc:creator>abhinav.kumar</dc:creator>
      <dc:date>2023-07-31T15:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Search for VB script for converting collection as HTML table</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Search-for-VB-script-for-converting-collection-as-HTML-table/m-p/98267#M46067</link>
      <description>&lt;P&gt;Hi Ekram,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;I agree of using calculation stage to create html tags in collection,&lt;/P&gt;
&lt;P&gt;If you have thousands of rows it will take very long time to&amp;nbsp; generate html tag.&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;I never&amp;nbsp; tried using C# to convert datatable/collection to HTML. YOu can check below code.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.c-sharpcorner.com/UploadFile/deveshomar/export-datatable-to-html-in-C-Sharp/" target="test_blank"&gt;https://www.c-sharpcorner.com/UploadFile/deveshomar/export-datatable-to-html-in-C-Sharp/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 18:46:52 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Search-for-VB-script-for-converting-collection-as-HTML-table/m-p/98267#M46067</guid>
      <dc:creator>harish.mogulluri</dc:creator>
      <dc:date>2023-07-31T18:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Search for VB script for converting collection as HTML table</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Search-for-VB-script-for-converting-collection-as-HTML-table/m-p/98268#M46068</link>
      <description>&lt;P&gt;Thanks to both of you for the solutions. I will take a look at these and let you know.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 08:45:24 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Search-for-VB-script-for-converting-collection-as-HTML-table/m-p/98268#M46068</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-02T08:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Search for VB script for converting collection as HTML table</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Search-for-VB-script-for-converting-collection-as-HTML-table/m-p/98269#M46069</link>
      <description>&lt;P&gt;Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="e69c57ae-7d9c-46ba-8300-efa3757e7d1f" data-tag-text="@Abhinav Kumar" href="https://community.blueprism.com/network/profile?UserKey=e69c57ae-7d9c-46ba-8300-efa3757e7d1f" data-itemmentionkey="3b362e7b-0d36-46c9-b7c2-007e7ea7802f"&gt;@Abhinav Kumar&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;I have tried your solution because I have data of only 10 rows. Unfortunately, it didn't work. Here is the screenshot:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35772.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/37460i520FF8DAB6294738/image-size/large?v=v2&amp;amp;px=999" role="button" title="35772.png" alt="35772.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35773.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/37461i6015FAF4BB2D0EE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="35773.png" alt="35773.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35774.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/37462i1C68C8CC210942EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="35774.png" alt="35774.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35775.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/37463iD18DFAFF3100E181/image-size/large?v=v2&amp;amp;px=999" role="button" title="35775.png" alt="35775.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35776.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/37464iABA75BC0302537D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="35776.png" alt="35776.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 07:01:22 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Search-for-VB-script-for-converting-collection-as-HTML-table/m-p/98269#M46069</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-10T07:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Search for VB script for converting collection as HTML table</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Search-for-VB-script-for-converting-collection-as-HTML-table/m-p/98270#M46070</link>
      <description>&lt;P&gt;Hi Shihab&lt;/P&gt;
&lt;P&gt;Please put IsHTML flag value as True and try again. Please see the below screenshot.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35777.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35793i65D3EBE233DE25AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="35777.png" alt="35777.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 13:15:45 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Search-for-VB-script-for-converting-collection-as-HTML-table/m-p/98270#M46070</guid>
      <dc:creator>abhinav.kumar</dc:creator>
      <dc:date>2023-08-10T13:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Search for VB script for converting collection as HTML table</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Search-for-VB-script-for-converting-collection-as-HTML-table/m-p/98271#M46071</link>
      <description>&lt;P&gt;Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="e69c57ae-7d9c-46ba-8300-efa3757e7d1f" data-tag-text="@Abhinav Kumar" href="https://community.blueprism.com/network/profile?UserKey=e69c57ae-7d9c-46ba-8300-efa3757e7d1f" data-itemmentionkey="632a8724-9ca2-4629-861b-5350a110b271"&gt;@Abhinav Kumar&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;If I set isHTML flag as True, it works for&amp;nbsp; [the follwing code.&lt;/P&gt;
&lt;P&gt;coll2]&amp;amp;"&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;"&amp;amp; [Coll1.Company]&amp;amp; "&amp;lt;/br&amp;gt;"&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 11:24:57 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Search-for-VB-script-for-converting-collection-as-HTML-table/m-p/98271#M46071</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-11T11:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Search for VB script for converting collection as HTML table</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Search-for-VB-script-for-converting-collection-as-HTML-table/m-p/98272#M46072</link>
      <description>&lt;P&gt;Hi Shihab,&lt;/P&gt;
&lt;P&gt;is email is not coming in below format and also can you let me know your requirements again ?&lt;/P&gt;
&lt;P&gt;Dear M,&lt;/P&gt;
&lt;P&gt;Please find attached information.&lt;/P&gt;
&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="137"&gt;&lt;COLGROUP&gt;&lt;COL width="137" /&gt;&lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR height="20"&gt;
&lt;TD height="20" class="xl65" width="137"&gt;&lt;STRONG&gt;Name&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR height="20"&gt;
&lt;TD height="20" class="xl65"&gt;A&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR height="20"&gt;
&lt;TD height="20" class="xl65"&gt;B&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR height="20"&gt;
&lt;TD height="20" class="xl65"&gt;C&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;E&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2023 05:30:38 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Search-for-VB-script-for-converting-collection-as-HTML-table/m-p/98272#M46072</guid>
      <dc:creator>abhinav.kumar</dc:creator>
      <dc:date>2023-08-12T05:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Search for VB script for converting collection as HTML table</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Search-for-VB-script-for-converting-collection-as-HTML-table/m-p/98273#M46073</link>
      <description>&lt;P&gt;Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="e69c57ae-7d9c-46ba-8300-efa3757e7d1f" data-tag-text="@Abhinav Kumar" href="https://community.blueprism.com/network/profile?UserKey=e69c57ae-7d9c-46ba-8300-efa3757e7d1f" data-itemmentionkey="a91385e4-b43a-45b4-a3d4-7746883da40b"&gt;@Abhinav Kumar&lt;/A&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is working right now.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I write &amp;nbsp;&lt;SPAN&gt;"&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;", it doesn't work. But when I write "&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;" then it works.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 11:31:09 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Search-for-VB-script-for-converting-collection-as-HTML-table/m-p/98273#M46073</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-14T11:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Search for VB script for converting collection as HTML table</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Search-for-VB-script-for-converting-collection-as-HTML-table/m-p/98274#M46074</link>
      <description>&lt;P&gt;Try this code stage using C#.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35778.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35791iA46E2299FF18F2F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="35778.png" alt="35778.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35779.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35795iE068463B3A5429B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="35779.png" alt="35779.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35780.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35794i6B016654A47C889D/image-size/large?v=v2&amp;amp;px=999" role="button" title="35780.png" alt="35780.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 14:48:17 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Search-for-VB-script-for-converting-collection-as-HTML-table/m-p/98274#M46074</guid>
      <dc:creator>jsantiago08</dc:creator>
      <dc:date>2023-08-22T14:48:17Z</dc:date>
    </item>
  </channel>
</rss>

