locked
Plugin on retrieve multiple message for view filtering not working in outlook client crm 2011 RRS feed

  • Question

  • I developed a plugin on retrievemultiple for some entities. 

    It works well in website advance find and view, it also works in outlook advance find, but it's not working in outlook view.

    if (context.InputParameters.Contains("Query") && context.InputParameters["Query"] is QueryExpression)
    {
    // Get the query
    QueryExpression query = (QueryExpression)context.InputParameters["Query"];
    RetrieveEntityRequest req = new RetrieveEntityRequest
    {
    EntityFilters = EntityFilters.Attributes,
    LogicalName = query.EntityName,
    };
    RetrieveEntityResponse res = (RetrieveEntityResponse)service.Execute(req);
    this.currentEntity = res.EntityMetadata;
    FindCond(query.Criteria);//changing logic here
    }
    


    In addition, if I don't use "context.InputParameters["Query"] is QueryExpression", there will pop up an error window "There was an error displaying in this view" when it comes to Outlook View. And there is no issue in Outlook Advance Find, Website Advance Find and Website View.

    Thank you,

    Kei



    Friday, September 11, 2015 4:40 AM

All replies

  • I developed a plugin on retrievemultiple for some entities. 

    Did you develop an Outlook plugin? 


    Friday, September 11, 2015 11:36 AM
  • Hi,

    Thank you for your reply.

    I developed CRM Dynamics Plugin. It's not Outlook Plugin.

    Do you have any hint on this issue?

    Thank you,

    Kei

    Friday, September 11, 2015 3:21 PM
  • Kei,

    The forum is for Outlook related questions, not CRM Dynamics. 

    Friday, September 11, 2015 4:11 PM
  • Thanks man!~

    Sorry for this!~

    Kei

    Friday, September 11, 2015 6:18 PM
  • Hi Kei,

    Thanks for posting in MSDN forum.

    Since the issue is more relative to CRM, I would like to move it to CRM forum.

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.

    Thanks for your understanding.

    Regards & Fei


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, September 14, 2015 1:48 AM