EntityMetadata.ActivityTypeMask Property
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Gets or sets whether a custom activity should appear in the activity menus in the Web application.
Namespace: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
[DataMemberAttribute]
public Nullable<int> ActivityTypeMask { get; set; }
<DataMemberAttribute>
Public Property ActivityTypeMask As Nullable(Of Integer)
Property Value
Type: System.Nullable<Int32>
Type: Nullable<Int32>
The value indicates whether a custom activity should appear in the activity menus in the Web application.
Remarks
For a custom activity the default value is 1. This means that the custom activity is available in activity menus. Set this property to 0 at the creation of a custom activity to prevent displaying it in the activity menus. This value cannot be updated after the custom activity is created.
See Also
EntityMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace
Custom activities
Sample: Create a custom activity entity
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright