Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

InitializeFromRequest Error

$
0
0

Hi Everyone,

I try to initialize a campaign activity to another campaign activity in post update plugin.

But i am getting below error;

There is no entity map defined for the given entitiesDetail: 

 

And here is my code;

if (entity.Contains("itb_revised") && (bool)entity["itb_revised"] == true)
{
     InitializeFromRequest initialize = new InitializeFromRequest();
     initialize.TargetEntityName = postImage.LogicalName;
     initialize.EntityMoniker = postImage.ToEntityReference();
                        
     InitializeFromResponse initialized = (InitializeFromResponse)adminService.Execute(initialize);
}



Has anyone encountered this error before?


 


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images