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.
/SourceCert Optional Certificate thumbprint used for mutual SSL authentication on the server of the source project. This key is used to pass an encoded certificate hash for a server with Mutual SSL installed as a string.
/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.
/TargetCert Optional Certificate thumbprint used for mutual SSL authentication on the server of the target project. This key is used to pass an encoded certificate hash for a server with Mutual SSL installed as a string.

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"

25.05.2023 7:55:02

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.