<?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 RE: Set New Collection Columns from First Row of Existing Collection in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Set-New-Collection-Columns-from-First-Row-of-Existing-Collection/m-p/82605#M33998</link>
    <description>&lt;P&gt;Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="0cb7f633-6218-4325-8eb9-928df2d78d5e" data-tag-text="@Nick R" href="https://community.blueprism.com/network/profile?UserKey=0cb7f633-6218-4325-8eb9-928df2d78d5e" data-itemmentionkey="43317d95-c310-4aa6-a79e-55bb2066ad54"&gt;@Nick R&lt;/A&gt; ! You can follow below steps by leveraging Utility - Collection Manipulation :&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Read first column data of existing collection using filter collection action or calc stage.&lt;/LI&gt;
&lt;LI&gt;Append data to the new empty collection using "Transpose collection" action.&lt;/LI&gt;
&lt;LI&gt;Invoke "set first row as column" action,&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sonam Sharma&lt;/P&gt;
&lt;P&gt;SS&amp;amp;C&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Feb 2023 11:55:00 GMT</pubDate>
    <dc:creator>sonsharm</dc:creator>
    <dc:date>2023-02-13T11:55:00Z</dc:date>
    <item>
      <title>Set New Collection Columns from First Row of Existing Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Set-New-Collection-Columns-from-First-Row-of-Existing-Collection/m-p/82603#M33996</link>
      <description>&lt;P&gt;I need to set the column names of a new empty collection to the first Column of another collection.&lt;/P&gt;
&lt;P&gt;The data will always be dynamic so there is no way of knowing how many columns I will need to create.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Is there a way to set Column Names in new collection by the all the values of the first Column?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Or at least take this first column and set it as a the first row in a new collection ?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nick R&lt;BR /&gt;Developer&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 11 Feb 2023 19:27:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Set-New-Collection-Columns-from-First-Row-of-Existing-Collection/m-p/82603#M33996</guid>
      <dc:creator>nrenaud1</dc:creator>
      <dc:date>2023-02-11T19:27:00Z</dc:date>
    </item>
    <item>
      <title>RE: Set New Collection Columns from First Row of Existing Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Set-New-Collection-Columns-from-First-Row-of-Existing-Collection/m-p/82604#M33997</link>
      <description>&lt;P&gt;Hi Nick&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;You have both options available in Utility Collection manipulation VBO , Please go through it.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Lakshmi Narayana&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Lakshmi Narayana&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sun, 12 Feb 2023 05:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Set-New-Collection-Columns-from-First-Row-of-Existing-Collection/m-p/82604#M33997</guid>
      <dc:creator>plnarayana777</dc:creator>
      <dc:date>2023-02-12T05:41:00Z</dc:date>
    </item>
    <item>
      <title>RE: Set New Collection Columns from First Row of Existing Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Set-New-Collection-Columns-from-First-Row-of-Existing-Collection/m-p/82605#M33998</link>
      <description>&lt;P&gt;Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="0cb7f633-6218-4325-8eb9-928df2d78d5e" data-tag-text="@Nick R" href="https://community.blueprism.com/network/profile?UserKey=0cb7f633-6218-4325-8eb9-928df2d78d5e" data-itemmentionkey="43317d95-c310-4aa6-a79e-55bb2066ad54"&gt;@Nick R&lt;/A&gt; ! You can follow below steps by leveraging Utility - Collection Manipulation :&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Read first column data of existing collection using filter collection action or calc stage.&lt;/LI&gt;
&lt;LI&gt;Append data to the new empty collection using "Transpose collection" action.&lt;/LI&gt;
&lt;LI&gt;Invoke "set first row as column" action,&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sonam Sharma&lt;/P&gt;
&lt;P&gt;SS&amp;amp;C&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 11:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Set-New-Collection-Columns-from-First-Row-of-Existing-Collection/m-p/82605#M33998</guid>
      <dc:creator>sonsharm</dc:creator>
      <dc:date>2023-02-13T11:55:00Z</dc:date>
    </item>
    <item>
      <title>RE: Set New Collection Columns from First Row of Existing Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Set-New-Collection-Columns-from-First-Row-of-Existing-Collection/m-p/82606#M33999</link>
      <description>&lt;P&gt;Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="c0c9dc86-6583-4eb2-9303-3814be20dfd6" data-tag-text="@Sonam Sharma" href="https://community.blueprism.com/network/profile?UserKey=c0c9dc86-6583-4eb2-9303-3814be20dfd6" data-itemmentionkey="2a6e2d5c-52c6-4e69-af60-50146ecc22f4"&gt;@Sonam Sharma&lt;/A&gt; I need every row from Column1 (which has about 165 rows - it will always be dynamic though)&amp;nbsp; to be the Column headers of new collection, or the First Row.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;UPDATE: easy fix, as I was looping through the rows manipulating original column headers,&amp;nbsp; Append Field to new Collection using my new values.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nick R&lt;BR /&gt;Developer&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 15:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Set-New-Collection-Columns-from-First-Row-of-Existing-Collection/m-p/82606#M33999</guid>
      <dc:creator>nrenaud1</dc:creator>
      <dc:date>2023-02-13T15:30:00Z</dc:date>
    </item>
    <item>
      <title>RE: Set New Collection Columns from First Row of Existing Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Set-New-Collection-Columns-from-First-Row-of-Existing-Collection/m-p/82607#M34000</link>
      <description>&lt;P&gt;Hi Nick,&lt;/P&gt;
&lt;P&gt;Do like this:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Read only Column1 into an undefined Collection1&lt;/LI&gt;
&lt;LI&gt;Loop Collection1
&lt;UL&gt;
&lt;LI&gt;For each row:&lt;BR /&gt;Add a new column to undefined Collection2 with column name being the value from the current Collection1 row&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;You'll end up with Collection2 having as many columns as Collection1 had rows, Each column header in Collection2 will have column name as specified in Column1 of Collection1&lt;/LI&gt;
&lt;LI&gt;Ready&lt;/LI&gt;
&lt;/UL&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Happy coding!&lt;BR /&gt;---------------&lt;BR /&gt;Paul&lt;BR /&gt;Sweden&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Feb 2023 10:00:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Set-New-Collection-Columns-from-First-Row-of-Existing-Collection/m-p/82607#M34000</guid>
      <dc:creator>PvD_SE</dc:creator>
      <dc:date>2023-02-14T10:00:00Z</dc:date>
    </item>
  </channel>
</rss>

