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

Available in: Salesforce Classic and Lightning Experience
Available in: Enterprise, Performance, Unlimited, and Developer Editions
Applies to: Aura sites
User Permissions Needed
To access Experience Workspaces or Experience Builder:

Create and Set Up Experiences

AND

Is a member of the community, portal, or site

To customize an Experience Builder site:
  • Create and Set Up Experiences OR assigned an experience admin, publisher, or builder role in that site
  • AND is a member of the site
To create collections using CMS content:
  • Assigned a content admin or content manager role in that CMS workspace
  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.
    Filter type Description
    Topic

    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.

    For any given collection, you can only have one topic filter with up to 1,000 characters defining it.

    Publish Date 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 Relative Date Filter Reference.
    Title Has two operators that evaluate against the Title field of your available CMS content for an exact (Equals) or partial match (Contains).
  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.