CopyBatchType

プロジェクトを新規作成する場合、別のプロジェクトで作成されたバッチタイプを使用することができます。これにより時間を節約し、コンフィギュレーションエラーを防止できます。バッチをあるプロジェクトから別のプロジェクトにコピーするには、CopyBatchTypeコマンドを使用することができます。このコマンドにより、コピー対象のバッチタイプと同じ名前のバッチタイプすべてが上書きされます。 In addition to batch types, you may also want to copy general, workflow, image processing, recognition, verification, and export settings, as well as handlers and .NET reference properties. To address this need, a new parameter called /CopyDefault has been implemented in ABBYY FlexiCapture 12 Release 4 Update 3. This parameter copies batch settings from another project into your default batch.
注:バッチタイプが文書定義を参照することがあります。ターゲットプロジェクトにそのような文書定義がない場合、警告メッセージが表示され、存在しない文書定義への参照が削除されます。

パラメータ

/Source 必須

バッチタイプの複写元のソースプロジェクト。

ローカルプロジェクトへのフルパスまたはサーバーに保存されたプロジェクトへのパスのどちらかを指定することができます。

/Target 必須

バッチタイプの追加または差し替えを希望するターゲットプロジェクト。

ローカルプロジェクトへのフルパスまたはサーバーに保存されたプロジェクトへのパスのどちらかを指定することができます。

/Name オプション

バッチタイプ名。

ターゲットプロジェクトにこの名前のバッチタイプがすでに存在する場合、バッチタイプが上書きされます。バッチタイプの名前が指定されていない場合、全バッチタイプがコピーされます。

/TargetName オプション

バッチタイプの新しい名前。

設定されていない場合、元の名前が使用されます。

/DocumentDefinitions オプション 新しいバッチタイプが参照する文書定義の一覧。
/ClassifierId オプション 新しいバッチタイプが参照するバッチ分類子ID。
/SourceU オプション

ユーザー名。

ユーザー名が指定されていない場合、Windows認証が使用されます。

/SourceP オプション パスワード。
/SourceTenant オプション ソースプロジェクトをもつテナント。
/SourceCert オプション ソースプロジェクトのサーバーで相互 SSL 認証に使用される証明書の拇印。このキーは、相互 SSL が文字列としてインストールされているサーバーのエンコードされた証明書ハッシュを渡すために使用されます。
/TargetU オプション

ユーザー名。

ユーザー名が指定されていない場合、Windows認証が使用されます。

/TargetP オプション パスワード。
/TargetTenant オプション ターゲットプロジェクトをもつテナント。
/TargetCert オプション ターゲットプロジェクトのサーバーで相互 SSL 認証に使用される証明書の拇印。このキーは、相互 SSL が文字列としてインストールされているサーバーのエンコードされた証明書ハッシュを渡すために使用されます。
/AlwaysAdd フラグ このパラメータが設定されている場合、特定のバッチタイプがすでに存在していてもいなくても、新しいバッチタイプが追加されます。
/CopyDefault フラグ

Copies the default batch settings from the source project into the default batch in the target project. The /Name and /TargetName parameters should not be set.

If you want to copy the batch settings of a specific batch from the source project into the default batch in the target project, set the /Name parameter.

If you want to copy the default batch settings from the source project into a specific batch in the target project, set the /TargetName parameter.

使用例:
CopyBatchType /Source="https://FCSRV/1/SingleEntryPoint" /Target=D:\Projects\SingleEntryPoint /SourceU=user /SourceP=password /Name="バッチタイプ"

CopyBatchType /Source="https://FCSRV/1/SingleEntryPoint" /Target=D:\Projects\SingleEntryPoint /SourceU=user /SourceP=password /CopyDefault – сopies the settings of the default batch in the source project into the default batch in the target project.

25.05.2023 7:55:10

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.