The Microsoft Dynamics CRM Blog
News and views from the Microsoft Dynamics CRM Team

How to control surfacing of Custom Activity

How to control surfacing of Custom Activity

  • Comments 4

Until Microsoft Dynamics CRM 4.0 there were only a bunch of OOB activities like appointment, task, phone call etc. There was no way for user to create new entities like IM, voice chat, SMS etc. which represents new communication channel and need activity party. Microsoft Dynamics CRM 2011 solves this problem by providing capability to create custom activity. Custom activity allows user to have several type of OOB activity party within custom entity itself.

In this post we will cover how to control surfacing of custom activity. By default custom activity appears in UI along with other OOB activities. To enable/disable surfacing of custom activity user simply need to check/uncheck “Display in Activity Menus” checkbox while creating custom activity.

clip_image002Please note that once this checkbox is checked/ unchecked it can’t be changed later. So user need take a conscious decision while creating custom activity. Once this custom activity is unchecked you will see that this custom activity doesn’t appear in all places where OOB activity and other custom activity appear. This setting is applicable for both web client and Outlook client.

Let’s walk through a scenario to understand this in more detail. A company “XYZ” has following requirements. It needs a new activity “Feedback”. Feedback is only given to a particular user regarding a customer (Account/ contact). So it should be associated with user and customer. It should not appear in all other places. Company also needs another custom activity “SMS” which is like any other activity.

Simon creates a new custom activity “Feedback”. The system customizer Simon unchecks the checkbox of “Display in Activity Menus” while creating this custom activity. He creates a 1: N relationship between “Feedback” and user entity. As this feedback will be about some customer so he adds OOB activity party lookup of “customers” on the main form of Feedback entity.

clip_image004

Simon creates another custom activity “SMS”. While creating this custom activity he checks both checkboxes as he wants to show it in all places along with OOB activities. Along with this he also adds “To” and “From” activity party on main form of custom activity.

clip_image006

Now publishes all customizations. He also creates one record of both entities to test. Now let’s see how these custom activities appear in various places. Let’s check on default places where mainly activities appear:

Ribbons

o Activities Main grid ( Workplace --> Activities)

clip_image008

o Activities associated grid ( From Accounts form)

clip_image010

o Activities advance find

clip_image012

o New Activity on Jewel

clip_image014

Views

o Activities view

clip_image016

o Activities associated view

clip_image018

o Type selector

clip_image020

As you can see, only SMS entity and its records appear. The “Feedback” entity appears only on associated grid of user.

I hope this post will help you to harness the power of controlling the surfacing of custom activity and its implications.

Cheers,

Niraj Yadav



  • Is there any supported way to use the new activities in campaigns? I can't seem to find a way to do it.

  • You can associate these new activities as "Planning activities" it shows in "New ACtivity" drop down.

  • loving it Leon...

  • good tutorial. thanks.

Page 1 of 1 (4 items)
Leave a Comment
  • Please add 8 and 7 and type the answer here:
  • Post