Search code examples
queuedynamics-crmdynamics-crm-2013itemsobjectid

DynamicsCRM 2013 - How to Show (Inherited) Owner of Queue Item


I have created a view for my Queue Items. In this view I show leads, orders, emails and quotes (Entities). One of the columns in my view is Owner (Activity). This shows the information that I want, but only for Entities that are "Activity Entities" (i.e. Task, Email, Phone call, etc). Is there a way to show the inherited owner of the queue Item object?

So if I have a Quote, show the owner of the quote in that field, if I have an order, show the owner of the order in that field, etc etc.

enter image description here


Solution

  • The OOB attribute Owner (Object) shows the owner of respective Activities, but the Quote or Order is not an activity type like Email, Task, etc. So they are empty.

    If you pull up the respective owner of each entity type in that view, the columns grows horizontally and the empty values will be shown for other entity types.

    Solution: Create a custom owner field in Queue Item entity and track all the owner field changes in all the current owner of your possible queue item entities using a plugin. Add that custom owner field which stores the current owner of respective Parent entity (Order, Quote, Email, Task, etc) owner to your view.