Register Component with Distributed Marketing for Bulk Sends

To see your component on the personalization window, register your Custom Integration Component with Distributed Marketing after building it.

  1. In Salesforce, navigate to Developer Console.
  2. Click Debug.
  3. Click Open Execute Anonymous Window.
  4. Enter this code in the window, updating c:BulkPluginOne with the name of your component and updating c:BulkSendPluginImp with the name of your Apex class. To designate this plugin as available for Bulk Send and Auto Send workflows, ensure that mcdm_15__IsBulkSendPlugin__c is set to true.
    SObject mapping = new mcdm_15__JourneyApprovalsPlugin__c(
        mcdm_15__Component_Name__c='c:BulkPluginOne',
        mcdm_15__ApexClassName__c = 'BulkSendPluginImplOne',
        mcdm_15__IsBulkSendPlugin__c = true);
    
    insert mapping;
  5. Execute the code.