Utility.ActionFromEntity(Entity, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Intenal function used to create an ActionDefinition from a CRM entity.
public static Microsoft.Crm.UnifiedServiceDesk.Dynamics.Utilities.ActionDefinition ActionFromEntity (Microsoft.Xrm.Sdk.Entity action, string source = "");
static member ActionFromEntity : Microsoft.Xrm.Sdk.Entity * string -> Microsoft.Crm.UnifiedServiceDesk.Dynamics.Utilities.ActionDefinition
Public Shared Function ActionFromEntity (action As Entity, Optional source As String = "") As ActionDefinition
Parameters
- action
- Entity
The CRM entity that should be an mcs_agentscriptaction type
- source
- String
String displayed in debugger that indicates what fired the action
Returns
Returns the ActionDefinition