Utility.ActionFromEntity Method (Entity, String)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Intenal function used to create an ActionDefinition from a CRM entity.
Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)
Syntax
public static ActionDefinition ActionFromEntity(
Entity action,
string source = ""
)
Public Shared Function ActionFromEntity (
action As Entity,
source As String
) As ActionDefinition
Parameters
action
Type: Microsoft.Xrm.Sdk.EntityThe CRM entity that should be an mcs_agentscriptaction type
source
Type: System.StringString displayed in debugger that indicates what fired the action
Return Value
Type: Microsoft.Crm.UnifiedServiceDesk.Dynamics.Utilities.ActionDefinition
Returns the ActionDefinition
See Also
Utility Class
Microsoft.Crm.UnifiedServiceDesk.Dynamics Namespace
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright