A dynamic collection continuously updates based on the conditions and available content in your channels. Tag your enhanced CMS content with taxonomy tags, and then define conditions that automatically add content items to the collection.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, and Developer Editions |
| User Permissions Needed | |
|---|---|
| To create, edit, and delete dynamic collections in a CMS workspace: |
View Content Taxonomy AND any CMS workspace contributor role |
Conditions for a collection can apply to content from multiple workspaces connected to the channel. To preview the content that appears in the collection, you must have a content contributor role for the workspace the channel connects to. You can change the conditions for a collection, but you can’t change the content type.
Unlike a manual collection, to add content to a dynamic collection, you define conditions with a resource, operator, and value. Then, Salesforce searches the channel for content that meets the conditions. The collection search results can include up to 250 content items. For the best dynamic collection results, tag the content as specifically as possible.
Before you import a dynamic collection, first use data loader to import taxonomy terms. To import a dynamic collection, the taxonomy terms must be available in the target org. To import a content taxonomy and terms, go to Salesforce Developers to learn how to use Data Loader to import a content taxonomy.
- In the Digital Experiences app, open an enhanced CMS workspace.
- Click Add and select Collection.
- Click Dynamic Collection.
- Enter a title and description for the collection, and then select the content type.
- Define conditions that automatically add content items to the collection.
- Click Manage Conditions.
- Leave the field Add content item when as All Conditions are Met.
- For Resource, select Tag.
- For Operator, select either Equals, All
of, or Any of.
Operator Option Description Equals Use for an exact match of content with the tag specified in the Value field. When you use this operator, you can include one tag in the Value field. All of If the content has all of the tags specified in the Value field of the condition, the content is eligible to appear in the results. For example, if Value = A AND B, then the results include content that has both A and B tags. When you use this operator, you can include between two and five tags in the Value field. Any of If the content has any of the tags specified in the Value field of the condition, the content is eligible to appear in the results. For example, if Value = A OR B, then the results include content that has either A or B tags. When you use this operator, you can include between two and five tags in the Value field. - For Value, search for and enter content tags .
- Click Apply Conditions, and save your changes.
- To preview content that appears in the collection by channel, click Review Content Items, and then select an available channel.
- Save your changes.
- To make the collection available to your channels, publish the collection.
- To make the collection unavailable to your channels, unpublish the collection.
jersey
as a child to Sport Memorabilia, and the term retired as
a child to jersey. Then, Sheng, a content admin, applies
those three tags to images in an enhanced CMS workspace. Sheng creates a dynamic collection of
images and defines the conditions as
- Add Content when All Conditions are met
- Resource = Tag
- Operator = Equals
- Tag = jersey
jersey.