<?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 populating a field in a collection with a data item? in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/populating-a-field-in-a-collection-with-a-data-item/m-p/54087#M8674</link>
    <description>Hi there, &lt;BR /&gt;I thought this would be something simple but I have become stumped and hoping that someone might be able to help?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I have read a table into a collection &lt;BR /&gt;&amp;gt; one of the fields in that table is blank in this example: ID&lt;BR /&gt;&amp;gt; I have the ID in a data item &lt;BR /&gt;&amp;nbsp;My question is, how do I populate that data item into row 1 of that field within that collection?&amp;nbsp;- highlighted in Yellow.&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="12955.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/13118i51486438F5B528F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="12955.png" alt="12955.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;My intention was to populate row 1 then update the data item and then update row 2, etc....&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Lisa Martino&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 16 Nov 2020 21:39:00 GMT</pubDate>
    <dc:creator>LisaMartino1</dc:creator>
    <dc:date>2020-11-16T21:39:00Z</dc:date>
    <item>
      <title>populating a field in a collection with a data item?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/populating-a-field-in-a-collection-with-a-data-item/m-p/54087#M8674</link>
      <description>Hi there, &lt;BR /&gt;I thought this would be something simple but I have become stumped and hoping that someone might be able to help?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I have read a table into a collection &lt;BR /&gt;&amp;gt; one of the fields in that table is blank in this example: ID&lt;BR /&gt;&amp;gt; I have the ID in a data item &lt;BR /&gt;&amp;nbsp;My question is, how do I populate that data item into row 1 of that field within that collection?&amp;nbsp;- highlighted in Yellow.&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="12955.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/13118i51486438F5B528F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="12955.png" alt="12955.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;My intention was to populate row 1 then update the data item and then update row 2, etc....&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Lisa Martino&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Nov 2020 21:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/populating-a-field-in-a-collection-with-a-data-item/m-p/54087#M8674</guid>
      <dc:creator>LisaMartino1</dc:creator>
      <dc:date>2020-11-16T21:39:00Z</dc:date>
    </item>
    <item>
      <title>RE: populating a field in a collection with a data item?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/populating-a-field-in-a-collection-with-a-data-item/m-p/54088#M8675</link>
      <description>Hi Lisa,&lt;BR /&gt;&lt;BR /&gt;Does your table always have 1 entire field as empty (i.e., in above scenario ID field). If Yes:&lt;BR /&gt;There is no option to update the collection field row by row. (i.e., in your case ID field of 1st row then 2nd row etc.)&lt;BR /&gt;Instead of that you can append all the Data item values of "ID" field into a separate collection (i.e., in that the collection will have only 1 field and should be with same field name as in your main collection). Once all the Data items were appended to new Collection, remove the ID field in the original collection using "Delete Field" Action in Collection Manipulation VBO, then use "Merge Collection" Action to combine these two collection and you will have your Collection with "ID Field" filled in it.&lt;BR /&gt;&lt;BR /&gt;Please let me know if it is not clear or if I missed anything.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Yeswa Vaibhav Alwar Nerella&lt;BR /&gt;Associate Consultant&lt;BR /&gt;Capgemini&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Nov 2020 08:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/populating-a-field-in-a-collection-with-a-data-item/m-p/54088#M8675</guid>
      <dc:creator>Yeswa_Vaibhav_1</dc:creator>
      <dc:date>2020-11-17T08:55:00Z</dc:date>
    </item>
    <item>
      <title>RE: populating a field in a collection with a data item?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/populating-a-field-in-a-collection-with-a-data-item/m-p/54089#M8676</link>
      <description>You can use a calculate stage to set the value of a field for the currently selected row. The expression in your example would be &lt;SPAN style="color: #ff00ff;"&gt;[Data Item]&lt;/SPAN&gt; and store-in would be &lt;SPAN style="color: #ff00ff;"&gt;Collection from an HTML table.ID&lt;SPAN style="color: #000000;"&gt;. Use a loop to iterate over all of the rows of the collection.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nicholas Zejdlik&lt;BR /&gt;RPA Developer&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Nov 2020 14:21:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/populating-a-field-in-a-collection-with-a-data-item/m-p/54089#M8676</guid>
      <dc:creator>NicholasZejdlik</dc:creator>
      <dc:date>2020-11-17T14:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: populating a field in a collection with a data item?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/populating-a-field-in-a-collection-with-a-data-item/m-p/54090#M8677</link>
      <description>Thank you!! This worked!&amp;nbsp; I used a calculate stage and a loop.&amp;nbsp; I appreciate you taking time out of your day to answer my question. ​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Lisa Martino&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Nov 2020 15:28:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/populating-a-field-in-a-collection-with-a-data-item/m-p/54090#M8677</guid>
      <dc:creator>LisaMartino1</dc:creator>
      <dc:date>2020-11-18T15:28:00Z</dc:date>
    </item>
    <item>
      <title>RE: populating a field in a collection with a data item?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/populating-a-field-in-a-collection-with-a-data-item/m-p/54091#M8678</link>
      <description>This answer is great. But can you can please also tell me how to do this if the field in the Collection is dynamic.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Soumya Behera&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Nov 2021 15:15:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/populating-a-field-in-a-collection-with-a-data-item/m-p/54091#M8678</guid>
      <dc:creator>SRB</dc:creator>
      <dc:date>2021-11-22T15:15:00Z</dc:date>
    </item>
    <item>
      <title>RE: populating a field in a collection with a data item?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/populating-a-field-in-a-collection-with-a-data-item/m-p/54092#M8679</link>
      <description>Use Get Collection Field / Set Collection Field in the Collection Manipulation object. Those two actions accept a dynamic field name and row index. Because they work off a row index, that means a loop is unnecessary; rather, you will want to use a row index and increment it to go over the whole collection (the equivalent of a for-loop).&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nicholas Zejdlik&lt;BR /&gt;RPA Developer&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Nov 2021 16:22:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/populating-a-field-in-a-collection-with-a-data-item/m-p/54092#M8679</guid>
      <dc:creator>NicholasZejdlik</dc:creator>
      <dc:date>2021-11-22T16:22:00Z</dc:date>
    </item>
    <item>
      <title>RE: populating a field in a collection with a data item?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/populating-a-field-in-a-collection-with-a-data-item/m-p/54093#M8680</link>
      <description>Set Collection Field is working for me. Thank you so very &lt;A class="user-content-mention" data-sign="@" data-contactkey="e42d12b2-a3f6-4f36-a821-9db8ee48b837" data-tag-text="@Nicholas Zejdlik" href="https://community.blueprism.com/network/profile?UserKey=e42d12b2-a3f6-4f36-a821-9db8ee48b837" data-itemmentionkey="2f52555c-b38f-4449-8489-b6558e7ec450"&gt;@Nicholas Zejdlik&lt;/A&gt;much.​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Soumya Behera&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Nov 2021 16:40:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/populating-a-field-in-a-collection-with-a-data-item/m-p/54093#M8680</guid>
      <dc:creator>SRB</dc:creator>
      <dc:date>2021-11-22T16:40:00Z</dc:date>
    </item>
  </channel>
</rss>

