<?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 HubDB Not Equals Filter On Multiple Values in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/HubDB-Not-Equals-Filter-On-Multiple-Values/m-p/438718#M23161</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a value in a variable that contains comma-separeted values of category names.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I would like to do is pass this to my HubDB filter query to get back a list of records where those categories are not equal to the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would be the approach of doing this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{% set categories = "Category1, Category2, Category3" %}
{% set unused_categories = hubdb_table_rows(99999,"name__ne="~categories~"&amp;amp;orderBy=name") %}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 May 2021 16:43:58 GMT</pubDate>
    <dc:creator>SirHubalot</dc:creator>
    <dc:date>2021-05-18T16:43:58Z</dc:date>
    <item>
      <title>HubDB Not Equals Filter On Multiple Values</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HubDB-Not-Equals-Filter-On-Multiple-Values/m-p/438718#M23161</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a value in a variable that contains comma-separeted values of category names.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I would like to do is pass this to my HubDB filter query to get back a list of records where those categories are not equal to the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would be the approach of doing this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{% set categories = "Category1, Category2, Category3" %}
{% set unused_categories = hubdb_table_rows(99999,"name__ne="~categories~"&amp;amp;orderBy=name") %}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 16:43:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HubDB-Not-Equals-Filter-On-Multiple-Values/m-p/438718#M23161</guid>
      <dc:creator>SirHubalot</dc:creator>
      <dc:date>2021-05-18T16:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: HubDB Not Equals Filter On Multiple Values</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HubDB-Not-Equals-Filter-On-Multiple-Values/m-p/439092#M23188</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/133469"&gt;@Chris-M&lt;/a&gt; , &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/72866"&gt;@Jake_Lett&lt;/a&gt; , &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/131510"&gt;@webdew&lt;/a&gt; , can any of you offer &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/148854"&gt;@SirHubalot&lt;/a&gt; some guidance?&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 15:40:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HubDB-Not-Equals-Filter-On-Multiple-Values/m-p/439092#M23188</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-05-19T15:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: HubDB Not Equals Filter On Multiple Values</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HubDB-Not-Equals-Filter-On-Multiple-Values/m-p/439715#M23215</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/148854"&gt;@SirHubalot&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could use &lt;SPAN class="hs_cos_wrapper hs_cos_wrapper_widget hs_cos_wrapper_type_rich_text" data-hs-cos-general-type="widget" data-hs-cos-type="rich_text"&gt;&lt;CODE&gt;&lt;SPAN style="font-size: 18px;"&gt;not_like&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/SPAN&gt; just as you would contains, by passing it a comma separated values:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{% set categories = "Category1, Category2, Category3" %}
{% set cats = 'multiselect__not_like='~categories|join(',')%}
{% set table = hubdb_table_rows(XXXXXX, cats) %}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope&amp;nbsp;this get ya going!&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 22:15:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HubDB-Not-Equals-Filter-On-Multiple-Values/m-p/439715#M23215</guid>
      <dc:creator>Kevin-C</dc:creator>
      <dc:date>2021-05-20T22:15:51Z</dc:date>
    </item>
  </channel>
</rss>

