---
schema_version: "1"
id: a7e17193844d46a89fde327faca11bcd50310d7a4c02185b5d3727ca84ed0660
title: Create a Conditional CMS Collection for Your Aura Site
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/experience/264-0-0/community_managed_content_collections_creatingnative-auto.md
canonical_url: https://help.salesforce.com/s/articleView?id=experience.community_managed_content_collections_creatingnative-auto.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: cfd6a6737a1b2ead1c6dfc0d7f0d23944074994f61325df73f268791b06d8eef
description: Make collections by creating filters that automatically include content that meets your defined criteria. To achieve complex and targeted results in your collection, combine several layers of filters.
products:
  - Experiences
release: "264"
---
# Create a Conditional CMS Collection for Your Aura Site

Make collections by creating filters that automatically include content that meets your defined criteria. To achieve complex and targeted results in your collection, combine several layers of filters.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Applies to: <a href="https://help.salesforce.com/s/articleView?id=experience.exp_cloud_basics_glossary.htm&amp;type=5&amp;language=en_US" target="_blank">Aura sites</a></td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d14908e79">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d14908e79 ">To access Experience Workspaces or <span>Experience Builder</span>:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d14908e79 ">
              <p>Create and Set Up Experiences</p>
              <p>AND</p>
              <p style="margin-bottom:0;">Is a member of the community, portal, or
                site</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d14908e79 ">To customize an Experience Builder site:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d14908e79 ">
              <ul>
                <li>Create and Set Up Experiences OR assigned an experience admin, publisher, or builder
                  role in that site</li>

                <li>AND is a member of the site</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d14908e79 ">To create collections using CMS content:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d14908e79 ">
              <ul>
                <li>Assigned a content admin or content manager role in that CMS workspace</li>

              </ul>
            </td>

          </tr>
        </tbody>
      </table>

1. In Content Management, select **Collections**, and click **New** or **Create Collection**.
2. To make your collection easy to identify, enter a descriptive name in the New Collection window, select **CMS Content**, and click **Next**.
3. From the dropdown menu, choose the content type that you want to include, select **Conditionally**, and click **Next**.
4. In the Rule for Finding Content dropdown, choose
    - All Criteria are Met. This rule treats all your filters as ANDs, allowing only content that meets all the criteria to be included in the collection.
    - Any Criteria is Met. This rule treats all your filters as ORs, allowing any piece of content that meets any one of the criteria to be included in the collection.
5. To create a filter, select a filter type from the Filter By dropdown, then an operator from the When dropdown, and enter a value in the Value field to compare against.
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
            <colgroup>
              <col style="width:25%">
              <col style="width:75%">
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d14908e214">Filter type</th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d14908e217">Description</th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="Filter type" class="slds-cell-wrap" style="vertical-align:top;" headers="d14908e214 ">Topic</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d14908e217 ">
                  <p>Has a single operator, called Includes, that searches for CMS content tagged with the
                    topic listed in the value field. When adding more than one topic, separate them with
                    commas.</p>
                  <p style="margin-bottom:0;">For any given collection, you can only have one topic filter with up to 1,000
                    characters defining it.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Filter type" class="slds-cell-wrap" style="vertical-align:top;" headers="d14908e214 ">Publish Date</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d14908e217 ">Has multiple operators that evaluate against the most recent publish date of
                  available CMS content. Values can be entered as region-specific numeric dates or as date
                  literals, like Today or Last Week. For more information see <a href="https://help.salesforce.com/articleView?id=filter_dates_relative.htm&amp;language=en_US" target="_blank">Relative Date Filter
                    Reference</a>.</td>

              </tr>
              <tr class="">
                <td data-label="Filter type" class="slds-cell-wrap" style="vertical-align:top;" headers="d14908e214 ">Title</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d14908e217 ">Has two operators that evaluate against the Title field of your available CMS
                  content for an exact (Equals) or partial match (Contains).</td>

              </tr>
            </tbody>
          </table>
6. To create filters that further refine your collection, click **\+ Add Criteria**. You can use up to 10 filters to define a collection.
7. When you’re done adding filters, click **Finish**.

#### See Also

- [Create and Manage CMS Content](https://help.salesforce.com/s/articleView?id=https://help.salesforce.com/s/articleView?id=xcloud.cms_content_create_manage.htm&language=en_US)
- [Create a Salesforce CRM Collection for Your Aura Site](https://help.salesforce.com/s/articleView?id=experience.community_managed_content_collections_creatingcrm.htm&release=264.0.0&type=5 "To display CRM object data on your site, create CRM collections. CRM collections are automatically updated based on the data in your Salesforce org. When you add a CRM collection to your Aura site, you can customize its layout and formatting.")
- [Relative Date Filter Reference](https://help.salesforce.com/articleView?id=filter_dates_relative.htm&type=5&language=en_US)
- [_Developer Guide:_ Comparison Operators](https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_comparisonoperators.htm)
- [_Developer Guide:_ Logical Operators](https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_logicaloperators.htm)