web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Restrict allowed Activity Types

(0) ShareShare
ReportReport
Posted on by 15

I have found an Option Set "Activity Types" which contains - you guessed it - all the activity types which can be created in the Timeline.  Unfortunately it is not customisable.  Is there any way to make it so?

I have the same question (0)
  • Suggested answer
    Gilmeyer Profile Picture
    on at
    RE: Restrict allowed Activity Types

    Hi,

    Please refer to https://powerobjects.com/2020/03/11/what-to-do-with-unwanted-activity-types-in-dynamics-crm/

    You can develop an onload JavaScript web resource to selectively hide or remove unwanted activity types. In this case, whenever a user navigates to the list of activity types, the selected types don't display at all.

    Code would look like - https://mylearnings26.wordpress.com/2018/07/10/how-to-hide-option-set-values-in-ms-crm-using-javascript/ -Be aware, if it is for V9 , you will need to use the new client side API. 

    Thanks

  • Verified answer
    LuHao Profile Picture
    40,892 on at
    RE: Restrict allowed Activity Types

    Hi partner,

    We will customize the activity types of timeline in the form editor.

    Go to Customizations > select an entity and edit the main form, double-click the timeline.

    pastedimage1597315488296v3.png

    pastedimage1597315501811v4.png

    Under Activities tab, select Show selected, and hold down the Ctrl key to select the type of activity you want to be able to create in the timeline.

    pastedimage1597315641263v5.png

    Save and publish.

    The side effect of this solution is that only the selected activity type is displayed in the timeline.

  • p dominey Profile Picture
    15 on at
    RE: Restrict allowed Activity Types

    That works perfectly - just hoep client will accept using the timeline view instead of the activity list.  I like it!

  • p dominey Profile Picture
    15 on at
    RE: Restrict allowed Activity Types

    (hope)

  • p dominey Profile Picture
    15 on at
    RE: Restrict allowed Activity Types

    I'm sure that will work but I prefer the suggestion below

    Sorry I was just told I had reported this post - didn't mean to

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 78 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 57 Most Valuable Professional

#3
Anthony Blake Profile Picture

Anthony Blake 43 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans