Data Class | MSBuild Extension Pack Help 4.0.12.0 |
Valid TaskActions are:
Import (Required: OrganizationUrl, DataMapName, FilePath, SourceEntityName, TargetEntityName Optional: Overwrite, ConnectionTimeout)
Inheritance Hierarchy
MSBuild.ExtensionPackBaseTask
MSBuild.ExtensionPack.CrmData
Namespace: MSBuild.ExtensionPack.Crm
Assembly: MSBuild.ExtensionPack.Crm (in MSBuild.ExtensionPack.Crm.dll) Version: 4.0.0.0
The Data type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Data |
Properties
Name | Description | |
---|---|---|
ConnectionTimeout |
Gets or sets the timeout in minutes for connecting to Crm Service. Default is 3 minutes.
| |
DataMapName |
Sets the Name of the data map.
| |
FilePath |
Sets the DataMap import file path.
| |
OrganizationUrl |
Sets the Url of the Organization, whose setting needs to be changed.
| |
SourceEntityName |
Sets the name of the source entity where the data file was produced from.
| |
TargetEntityName |
Sets the name of the target entity where the data imported to.
| |
Timeout |
The time in minutes for which the task would wait for the new organization to be created. Default is 20.
|
Examples
<Project ToolsVersion="4.0" DefaultTargets="Default" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <TPath>$(MSBuildProjectDirectory)\..\MSBuild.ExtensionPack.tasks</TPath> <TPath Condition="Exists('$(MSBuildProjectDirectory)\..\..\Common\MSBuild.ExtensionPack.tasks')">$(MSBuildProjectDirectory)\..\..\Common\MSBuild.ExtensionPack.tasks</TPath> </PropertyGroup> <Import Project="$(TPath)"/> <Target Name="Default"> <!-- Import a data file --> <MSBuild.ExtensionPack.Crm.Data TaskAction="Import" OrganizationUrl="http://crm/organization1" DataMapName="DataMap1" SourceEntityName="Entity1" TargetEntityName="Entity1" FilePath="DataImportFile.csv" /> </Target> </Project>
See Also