To see your component on the personalization window, register your Custom Integration Component with Distributed Marketing after building it.
- In Salesforce, navigate to Developer Console.
- Click Debug.
- Click Open Execute Anonymous Window.
-
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; - Execute the code.