Skip to main content

Notifications

Announcements

No record found.

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?

  • p dominey Profile Picture
    p dominey 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

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

    (hope)

  • p dominey Profile Picture
    p dominey 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!

  • Verified answer
    LuHao Profile Picture
    LuHao 40,874 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.

  • Suggested answer
    Gilmeyer Profile Picture
    Gilmeyer 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

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,234 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,994 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans