locked
follow up entity . where to search this entity RRS feed

  • Question

  • Hi All

    I registered plugin for followup entity on lead creation but when i create the lead it gives following message 

    "  Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The entity with a name = 'followup' was not found in the MetadataCache.Detail: 

    <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">

      <ErrorCode>-2147217150</ErrorCode>

      <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />

      <Message>The entity with a name = 'followup' was not found in the MetadataCache.</Message>

      <Timestamp>2011-09-09T05:05:46.0364868Z</Timestamp>

      <InnerFault i:nil="true" />

      <TraceText>

    [FolloupTaskPlugin: FollowupTaskPlugin.PostCreateLead]

    [b9aeed92-a0da-e011-b09c-080027e82303: FollowupTaskPlugin.PostCreateLead: Create of lead]

     

    </TraceText>

    </OrganizationServiceFault> "    or i think i should replace followup with task . is it true

      plz help me 

    Regards 

    sharique

    Friday, September 9, 2011 5:16 AM

Answers

  • Sorry .....

     i was making mistake  it was  ...  entity followup=new entity("task")  .. instead of followup.logicalname="FollowUp" ;

    bcoz there is no follow up entity available  in CRM 2011

     

    ok thanks

    Regards

    Sharique

    Friday, September 9, 2011 5:30 AM

All replies

  • Sorry .....

     i was making mistake  it was  ...  entity followup=new entity("task")  .. instead of followup.logicalname="FollowUp" ;

    bcoz there is no follow up entity available  in CRM 2011

     

    ok thanks

    Regards

    Sharique

    Friday, September 9, 2011 5:30 AM
  • Yeah there is no entity called followup.

    If you still have a problem . check this how to create a task in plugin

    http://mscrmshop.blogspot.com/2010/10/crm-2011-plugin-tutorial.html

    I hope this helps.


    Amreek singh Senior CRM Consultant CDC Praxa Sydney,Australia http://mscrmshop.blogspot.com/
    • Proposed as answer by Amreek Singh Friday, September 9, 2011 5:42 AM
    Friday, September 9, 2011 5:42 AM