Jaa


ApplyRecordCreationAndUpdateRuleRequest Class

 

Applies To: Dynamics CRM 2015

Contains data to apply record creation and update rules to activities in CRM created as a result of the integration with external applications.

Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Sdk.OrganizationRequest
    Microsoft.Crm.Sdk.Messages.ApplyRecordCreationAndUpdateRuleRequest

Syntax

[DataContractAttribute(Namespace = "https://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class ApplyRecordCreationAndUpdateRuleRequest : OrganizationRequest
[DataContractAttribute(Namespace = "https://schemas.microsoft.com/crm/2011/Contracts")]
public ref class ApplyRecordCreationAndUpdateRuleRequest sealed : OrganizationRequest
[<Sealed>]
[<DataContractAttribute(Namespace = "https://schemas.microsoft.com/crm/2011/Contracts")>]
type ApplyRecordCreationAndUpdateRuleRequest = 
    class
        inherit OrganizationRequest
    end
<DataContractAttribute(Namespace := "https://schemas.microsoft.com/crm/2011/Contracts")>
Public NotInheritable Class ApplyRecordCreationAndUpdateRuleRequest
    Inherits OrganizationRequest

Constructors

Name Description
System_CAPS_pubmethod ApplyRecordCreationAndUpdateRuleRequest()

Initializes a new instance of the ApplyRecordCreationAndUpdateRuleRequest class.

Properties

Name Description
System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data. Optional.(Inherited from OrganizationRequest.)

System_CAPS_pubproperty Item[String]

Gets or sets the indexer for the Parameters collection.(Inherited from OrganizationRequest.)

System_CAPS_pubproperty Parameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.(Inherited from OrganizationRequest.)

System_CAPS_pubproperty RequestId

Gets or sets the ID of an asynchronous operation (system job). Optional. (Inherited from OrganizationRequest.)

System_CAPS_pubproperty RequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.(Inherited from OrganizationRequest.)

System_CAPS_pubproperty Target

Gets or sets the target for applying the rule.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

Message Availability

For this message to work, the caller must be connected to the server.

Usage

Pass an instance of this class to the Execute method, which returns an instance of the ApplyRecordCreationAndUpdateRuleResponse class.

Privileges and Access Rights

To perform this action, the caller must have privileges on the activity, QueueItem and Workflow entities, and access rights on the specified record in the Target property. For a complete list of the required privileges, see ApplyRecordCreationAndUpdateRule message privileges.

Notes to Callers

The record creation and update rules in CRM enable you to automatically convert incoming activities, such as emails, custom activities, and posts, from external integrated applications (mobile applications, portals or social channels) to system or custom records in CRM. These rules can be created or edited using the web client or Microsoft Dynamics CRM for Outlook only; rule creation and update is not supported through SDK. More information: Help & Training: Automatically create records in CRM

Use the ApplyRecordCreationAndUpdateRuleRequest message to retroactively apply a record creation and update rule to the activity that got created in CRM while the rule was inactive. To edit a rule, you need to deactivate the rule, edit the rule definition, and then reactivate the rule. While the rule is in inactive stage because its being edited, the activities from the external applications will continue to come into CRM (if you have configured an external application to integrate with CRM), but will not be acted upon as the rule is not active.

This message is available only in Microsoft Dynamics CRM Online 2015 Update 1; it’s not available in Microsoft Dynamics CRM (on-premises).

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Crm.Sdk.Messages Namespace
Help & Training: Automatically create records in CRM

Return to top

© 2016 Microsoft. All rights reserved. Copyright