CopyImportProfile

When creating a new project, you can reuse import profiles created in another project. This will save time and prevent configuration errors. You can use the CopyImportProfile command to copy import profiles specified for hot folders from one project to another.

Note: Import profiles involving scanners are shared by all the projects on a given machine and will not be copied.

Parameters

/Source Required

The source project containing the import profile 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 you want to copy the import profile.

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

/Name Optional The name of the import profile that you want to copy.

If an import profile with this name already exists, it will be overwritten. If no import profile is specified, all the import profiles will be copied.
/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.

Some image import parameters are project-dependent and have to be processed separately. The CopyImportProfile command will process the following hot folder parameters:

Parameter Value assigned by command
Import source This parameter will remain unchanged.
Hot folder crawling times This parameter will remain unchanged.
The batch where images should be added
  1. Add images to the current batch – This parameter will remain unchanged.
  2. Add images to an existing batch –  This parameter will be reset to Create new batches.
  3. Create new batches – The batch type can be found in the new project by its name. If it is not found, the type is reverted to the default type. Does not affect anything else.
Message parameters This parameter will remain unchanged.
Image processing parameters This parameter will remain unchanged.
Got folder clean-up parameters This parameter will remain unchanged.

Example of use:

CopyImportProfile /Source="https://FCSRV/1/SingleEntryPoint" /Target=D:\Projects\SingleEntryPoint /SourceU=user /SourceP=password /Name="Load from D:\123"

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.