Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CreateRequest.Target Property

Definition

Namespace:
Microsoft.Xrm.Sdk.Messages
Assembly:
Microsoft.Xrm.Sdk.dll
Package:
Microsoft.PowerPlatform.Dataverse.Client v1.2.10

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.

Gets or sets an instance of an entity that you can use to create a new record. Required.

public:
 property Microsoft::Xrm::Sdk::Entity ^ Target { Microsoft::Xrm::Sdk::Entity ^ get(); void set(Microsoft::Xrm::Sdk::Entity ^ value); };
public Microsoft.Xrm.Sdk.Entity Target { get; set; }
member this.Target : Microsoft.Xrm.Sdk.Entity with get, set
Public Property Target As Entity

Property Value

The entity instance.

Remarks

The specified target record must contain values for all the attributes where the RequiredLevel is set to SystemRequired. You can see the required level value for each entity in the Entity Metadata topic for the entity.

If the entity instance includes properties where IsValidForCreate is false, the values are ignored. You can find this information in the metadata for your organization. Learn to view detailed table definition data in your environment

Applies to