Continuing our Sitecore Content Hub series, building upon our earlier blogs from Part 1, Part 2, Part 3, and Part 4, this article provides a detailed guide to integrating and configuring the Selection Component for Marketing Campaign entities.
In Sitecore Content Hub, the Selection Component significantly enhances user interactions by enabling bulk selection of entities for batch operations. Using our ongoing scenario of managing marketing campaigns, we will configure this component to efficiently select and manage related marketing assets.
📌 Overview of the Selection Component
The Selection Component integrates seamlessly with Search Components, allowing batch operations such as:
- Selecting multiple entities simultaneously
- Editing entity details in bulk
- Exporting data to Excel
- Clipboard operations for selected items
⚙️ Technical Implementation Steps (Marketing Campaign Scenario)
Step 1: Adding the Selection Component
Navigate to Manage > Pages and locate the previously created "Marketing Campaigns" page. This page already includes Creation and Search components as described in Part 2.
- Under the Header zone (right side), click + Component.
- Search and select the Selection Component.
- In the configuration dialog, for my case, I will keep the default title "Selection", toggle Visible to enable visibility, and save.
- The Selection Component will now appear on your page.
Step 2: Configuring the Selection Component
- Double-click the added Selection Component to open its configuration.
In the General Settings tab:
- Set Linked Search Component to the Search Component already added.
- Select the appropriate Selection Pool previously created within the Search Component.
Step 3: Adding Operations
Switch to the Operations tab to configure batch operations:
Operation: Delete
- Click Add Definition and select your "MarketingCampaign" definition.
- Click Add Operation, select Delete, and configure the display settings.
- Enable confirmation dialog if needed, then save.
Operation: Edit in Table
- Before configuring the edit operation, create a new page called "Marketing Campaign Edit Table".
On this page, add an Mass-edit table component, configured to edit the "MarketingCampaign" definition fields:
- Add the required columns for editing.
- Configure fields as editable or read-only, which is optional (by enabling the corresponding toggle).
Return to the Marketing Campaign page, open the Selection Component configuration, and on the Operations tab:
You can add additional operations as required by repeating these steps.
Step 4: Testing the Selection Component
- Return to the Marketing Campaign page and switch to View mode.
- Select multiple marketing campaigns using the checkboxes.
- Observe operations (Edit and Delete) appearing in the top-right area.
- Click Delete to test deletion (confirmation dialog appears).
- Select more items, click Edit, update fields, save and close, then refresh the table to verify changes.
- Additional options like the eye icon (show selected items only), clipboard copying, and select/deselect all functionality will enhance the user experience.
Conclusion
Implementing the Selection Component completes a critical piece in our marketing campaign management workflow within Sitecore Content Hub. From enabling users to select multiple campaigns at once, to performing batch operations like deletion or in-place editing via a dedicated table — this setup significantly reduces manual overhead.
By integrating this component, we've empowered business users to efficiently manage campaign statuses, update core details like dates or location, and streamline asset associations — all without navigating away from the main portal page. When used correctly in combination with a well-configured Search Component and mass-edit pages, the Selection Component becomes a true productivity enabler for large-scale marketing teams.