DataMap Class

MSBuild Extension Pack

DataMap Class MSBuild Extension Pack Help 4.0.12.0
Valid TaskActions are:

Import (Required: OrganizationUrl, Name, FilePath Optional: Overwrite, ConnectionTimeout)

Delete (Required: OrganizationUrl, Name)

Inheritance Hierarchy

SystemObject  Microsoft.Build.UtilitiesTask
    MSBuild.ExtensionPackBaseTask
      MSBuild.ExtensionPack.CrmDataMap

Namespace: MSBuild.ExtensionPack.Crm
Assembly: MSBuild.ExtensionPack.Crm (in MSBuild.ExtensionPack.Crm.dll) Version: 4.0.0.0

The DataMap type exposes the following members.

Constructors

  NameDescription
Public methodDataMap
Top
Properties

  NameDescription
Public propertyConnectionTimeout
Gets or sets the timeout in minutes for connecting to Crm Service. Default is 3 minutes.
Public propertyFilePath
Sets the Data Map import file path.
Public propertyName
Sets the Name of the Data Map.
Public propertyOrganizationUrl
Sets the Url of the Organization, whose setting needs to be changed.
Public propertyOverwrite
Sets whether to overwrite existing Data Map. Default is true
Top
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 Map -->
        <MSBuild.ExtensionPack.Crm.DataMap TaskAction="Import" OrganizationUrl="http://crm/organization1" Name="organization1" FilePath="DataImportFile.xml" />
    </Target>
    <Target Name="Delete">
        <!-- Delete a Data Map -->
        <MSBuild.ExtensionPack.Crm.DataMap TaskAction="Delete" OrganizationUrl="http://crm/organization1" Name="organization1" />
    </Target>
</Project>
See Also

Reference