UpdateProject
In an enterprise setting, changes made to a project are first implemented in a test environment. Once tested, they need to be transferred to the deployment environments. You can use the UpdateProject command to replace an existing project with its new version in the deployment environment.
Note:
- FCAdminTools will rename the processing stages in projects whose language differs from the language of FCAdminTools. You can prevent this by specifying the appropriate language in the Windows the registry. Please refer to this section for more information about it.
- Using the UpdateProject command will update your entire project, including its Document Definitions and import profiles. To only update the Document Definitions, use the CopyDocumentDefinition command.
Parameters
/Source |
Required |
The full path to the source project. If the project is located on a server, the path should contain the tenant ID. |
/Target |
Required |
The full path to the target project. If the project is located on a server, the path should contain the tenant ID. |
/SourceTenant | Optional | The tenant with the source project. |
/TargetTenant | Optional | The tenant with the target project. |
/UpdateDataSets | Flag |
By default, no data sets are copied into the target project. To copy data sets, specify this switch. Note: If the Document Definition in the source project is newer than the Document Definition in the target project, the data sets will be updated irrespective of the value of this switch. |
/UpdateEnvironmentVariables | Flag |
By default, no environment variables are copied to the target project. To copy environment variables, specify this switch. |
/SourceU | Optional |
User name. If no user name is specified, Windows authentication will be used. |
/SourceP | Optional | Password. |
/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. |
/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:
/UpdateProject /Source="https://FCStage/1/Banking_eng"/Target="https://FCProd/1/Banking_eng"
12.04.2024 18:16:01