CopyDataType

When creating a new Document Definition in a project, you can re-use a correctly specified data type from another project. This will save time and prevent configuration errors. You can use the CopyDataType command to copy custom data types from one Document Definition into another. The command will overwrite any custom data types having the same names as the custom data types that you want to copy.

Note: Upon import, the version of the Document Definition will be updated and the copied data type will become available only within its data type category (e.g. numbers, dates, currency, etc.).

Parameters

/Source Required

The source project where the command should look for the Document Definition containing the data type that you want to copy.

You can specify either the full path to a local project or the path to a project stored on a server.

/Target Required

The target project where the command should look for the Document Definition to which you want to copy the data type.

The target project can be the same as the source project.

You can specify either the full path to a local project or the path to a project stored on a server.

/SourceDocumentDefinition Required The source Document Definition that contains the data type that you want to copy.
/TargetDocumentDefinition Required The target Document Definition where you want to copy the data type.
/Name Required The name of the data type that you want to copy.
/SourceU Optional User name.

If no user name is specified, Windows authentication will be used.
/SourceP Optional Password.
/SourceTenant Optional The tenant with the source project.
/TargetU Optional

User name.

If no user name is specified, Windows authentication will be used.

/TargetP Optional Password.
/TargetTenant Optional The tenant with the target project.

Example of use:

CopyDataType /Source="https://FCSRV/1/SingleEntryPoint" /Target=D:\Projects\SingleEntryPoint /SourceDocumentDefinition=Banking_eng /TargetDocumentDefinition=Banking_eng /SourceU=user /SourceP=password /Name="Data type"

11/10/2020 12:08:03 PM


Please leave your feedback about this article