<?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 Remove small collection from bigger collection in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Remove-small-collection-from-bigger-collection/m-p/57346#M11364</link>
    <description>Hi.

&amp;nbsp;

I have a problem where I Filter out some rows from a collection and I want to remove them from the main collection.

How do I best do this?

&amp;nbsp;

&amp;nbsp;

Extra info:

A collection is on 9000. I filter out 100 rows, I want to remove them from the main collection. I will then end up with 8900 rows.

&amp;nbsp;

Best regards

Christer Tellefsen</description>
    <pubDate>Wed, 09 Jan 2019 13:57:00 GMT</pubDate>
    <dc:creator>Christer_Tellefsen</dc:creator>
    <dc:date>2019-01-09T13:57:00Z</dc:date>
    <item>
      <title>Remove small collection from bigger collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-small-collection-from-bigger-collection/m-p/57346#M11364</link>
      <description>Hi.

&amp;nbsp;

I have a problem where I Filter out some rows from a collection and I want to remove them from the main collection.

How do I best do this?

&amp;nbsp;

&amp;nbsp;

Extra info:

A collection is on 9000. I filter out 100 rows, I want to remove them from the main collection. I will then end up with 8900 rows.

&amp;nbsp;

Best regards

Christer Tellefsen</description>
      <pubDate>Wed, 09 Jan 2019 13:57:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-small-collection-from-bigger-collection/m-p/57346#M11364</guid>
      <dc:creator>Christer_Tellefsen</dc:creator>
      <dc:date>2019-01-09T13:57:00Z</dc:date>
    </item>
    <item>
      <title>Hello,
Go for using ""Utility…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-small-collection-from-bigger-collection/m-p/57347#M11365</link>
      <description>Hello,
Go for using ""Utility - Collection Manipulation"" VBO several Actions available to filter it out.
Good Luck.
&amp;nbsp;</description>
      <pubDate>Thu, 10 Jan 2019 14:08:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-small-collection-from-bigger-collection/m-p/57347#M11365</guid>
      <dc:creator>SukeshManthena</dc:creator>
      <dc:date>2019-01-10T14:08:00Z</dc:date>
    </item>
    <item>
      <title>I made a separate action for…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-small-collection-from-bigger-collection/m-p/57348#M11366</link>
      <description>&lt;P&gt;I made a separate action for this - ""Search Collection where value does not contain [x]"". I did this in C#, so you may need to convert it if you want it to work in the regular collection manipulation VBO. Or if you want to make your own extended library (which is generally recommended practice anyway, so new builds don't overwrite your code), I'm also including the references at the top that you'll need to add. Some of these are overkill for just this one action, but it'll get you started for expanding with other actions.&lt;/P&gt;
&lt;P&gt;External Refs:&lt;BR /&gt;C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Core.dll Microsoft.VisualBasic.dll Namespace Imports: Microsoft.VisualBasic&lt;BR /&gt; System.Collections.Generic&lt;BR /&gt;System.Text&lt;BR /&gt;System.Linq Microsoft.VisualBasic.FileIO&lt;/P&gt;
&lt;P&gt;Inputs:&lt;BR /&gt;Collection - Collection &lt;BR /&gt;FilterString - Text &lt;BR /&gt;Column - Text&lt;/P&gt;
&lt;P&gt;Outputs: &lt;BR /&gt;Sorted Collection - Collection &amp;nbsp;&lt;/P&gt;
&lt;PRE class="language-csharp"&gt;String filter &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;""&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;""&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;if&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;FilterString&lt;SPAN class="token operator"&gt;!=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;""&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;""&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;
	filter &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;""&lt;/SPAN&gt;`&lt;SPAN class="token string"&gt;""&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;+&lt;/SPAN&gt;Column&lt;SPAN class="token operator"&gt;+&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;""&lt;/SPAN&gt;`&lt;SPAN class="token string"&gt;""&lt;/SPAN&gt; &lt;SPAN class="token operator"&gt;+&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;""&lt;/SPAN&gt; not like &lt;SPAN class="token string"&gt;'%""+FilterString+""%'&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;""&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; 
&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="token keyword"&gt;else&lt;/SPAN&gt;
&lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;
	filter &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;""&lt;/SPAN&gt;`&lt;SPAN class="token string"&gt;""&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;+&lt;/SPAN&gt;Column&lt;SPAN class="token operator"&gt;+&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;""&lt;/SPAN&gt;`&lt;SPAN class="token string"&gt;""&lt;/SPAN&gt; &lt;SPAN class="token operator"&gt;+&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;""&lt;/SPAN&gt; &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;''&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;""&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;
DataView dv &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; Collection&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;DefaultView&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
dv&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;RowFilter &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; filter&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
Sorted_Collection &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; dv&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;ToTable&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 Jan 2019 20:42:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-small-collection-from-bigger-collection/m-p/57348#M11366</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2019-01-11T20:42:00Z</dc:date>
    </item>
  </channel>
</rss>

