Question Status

Suggested Answer
Tarik asked a question on 13 Mar 2013 6:07 PM

Hi everyone, 

I'm having an issue and really hope someone can help. I have a custom plugin registered against the lead entity on the RetieveMultiple event on the pre-process step. I'm using it to intercept a custom view in the leads screen, add a condition to it and return the results to the client. Everything works great from the browser, the user selects the view from the drop down, the plugin intercepts it, adds the condition and the user ends up seeing the right results. However, if the user requests the same query from outlook (clicks on say my special leads view), the plugin code breaks!

In the plugin code, I cast the desired object to a QueryExpression object, tinker with that object, etc...however, if the request comes from outlook, the cast FAILS! I debugged it to realize that outlook sends the request as a FetchXML object rather than a QueryExpression object

Anybody faced similar issues? Any help is much appreciated...

Tarik

Reply
Suggested Answer
Muhammad Adeel Javaid responded on 23 Mar 2013 12:22 PM

I would recommend you to run the outlook client diagnostics wizard and see if something needs attention and fix!

M.Adeel

Reply
Suggested Answer
Satish Tiwari responded on 13 Oct 2013 5:18 PM

Hello Tarik,

Does this issue still persist in CRM?

Regards,

Satish

Regards,

Satish Tiwari

Support Engineer

Microsoft Dynamics CRM

Reply
Suggested Answer
Muhammad Adeel Javaid responded on 23 Mar 2013 12:22 PM

I would recommend you to run the outlook client diagnostics wizard and see if something needs attention and fix!

M.Adeel

Reply
Suggested Answer
Satish Tiwari responded on 13 Oct 2013 5:18 PM

Hello Tarik,

Does this issue still persist in CRM?

Regards,

Satish

Regards,

Satish Tiwari

Support Engineer

Microsoft Dynamics CRM

Reply