Disable Item Buckets for CampaignsΒΆ

Dynamics CRM campaign are exposed as Sitecore campaigns that are created under a campaign category item whose name matches the tenant used to define the synchronization process.

Since it is possible that a large number of CRM campaigns are synchronized, Dynamics CRM Connect makes this campaign category item bucketable. This results in the individual campaign items being added to an item bucket.

Note

By default, Sitecore campaigns are not bucketable. Dynamics CRM Connect extends Sitecore so that campaign items can be bucketed.

If you do not want the Campaign items to be added to an item bucket, you must do the following:

  1. In Content Editor, navigate to your tenant.
  2. Navigate to Pipelines > CRM Campaign Pipelines.
  3. Navigate to CRM Campaign to Sitecore Campaign Pipeline.
  4. Navigate to Resolve Campaign Category.
  5. In the field Make campaign category item bucketable, untick the box.
  6. Save the item.
  7. Navigate to sitecore > system > Marketing Control Panel > Campaigns.
  8. If a campaign category item exists for your tenant, delete that item.
  9. If prompted with a warning about breaking links, select the option to leave links.

Note

It is important to select the option to leave links. When you re-run the campaign synchronization process, the campaign items are created with the same Sitecore item ID as the campaign items you deleted in the previous step. Leaving links ensures that anywhere those campaigns are used will continue to work as expected.

  1. Navigate to your tenant.
  2. Navigate to Pipelines Tasks > CRM Campaigns Sync Pipeline Batch.
  3. Run the pipeline batch.

When the pipeline batch finishes, the Sitecore campaigns will be bucketed.