Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2021 Release Wave 2Discover the latest updates and new features releasing from October 2021 through March 2022.
2021 release wave 2 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I have created plugin on Campaign entity with message "RemoveItem".
I am able to retrieve campaignId and ListId from IPluginExecutionContext.
Is there any way I can retrieve CampaignItemId that was deleted.
Do you mean CampaignActivityId? That should be there.
If the answer solves your problem, please mark as Verified. Thanks.
My Blog: http://dyn365apps.com/ - Follow me on Twitter: https://twitter.com/dyn365apps
No, campaignItemId. Id of intersect metadata which links campaign and marketing list (msdn.microsoft.com/.../gg328088.aspx)
Can you please tell me how to retrieve CampaignActivityId, retrieving campaignItemId might be similar.
The RemoveItem message is only available for Campaign and CampaignActivity entities.
For Campaign Entity, RemoveItem event triggers when RemoveItemCampaignRequest is called.
According to MSDN, the field which has the id of the item to be removed is called EntityId.
For CampaignActivity Entity, RemoveItem event triggers when RemoveItemCampaignActivityRequest is called.
Hope this helps.
Please refer below item
Thanks for your response.
When a list is added to a Campaign, an entry is made to CampaignItem entity (an Intersect metadata), and when a list is removed from the campaign the entry from CampaignItem is removed. I am able to retrieve the campaignId and listId but I am interested in retrieving the CampaignItemId. Hope this makes sense.
Business Applications communities