Share via


InitializeFrom Function

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Initializes a new record from an existing record.

This Web API function corresponds to the organization service InitializeFromRequest.

InitializeFrom function is not bound to any entity types.

Parameters

Parameters allow for data to be passed to the function.

Name

Type

Nullable

Unicode

Description

EntityMoniker

crmbaseentity EntityType

false

The record that is the source for initializing.

TargetEntityName

Edm.String

false

false

The logical name of the target entity.

TargetFieldType

TargetFieldType EnumType

false

The attributes are to be initialized in the initialized instance.

Return Type

The InitializeFrom function returns the following value.

Type

Nullable

Description

crmbaseentity EntityType

false

Contains the response from the InitializeFrom function.

See Also

Use Web API functions
Web API EntityType Reference
Web API Action Reference
Web API Query Function Reference
Web API EnumType Reference
Web API ComplexType Reference
Web API Metadata EntityType Reference

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright