Resolve Custom Dependent Files for Form Controls
- Last UpdatedJul 01, 2024
- 2 minute read
The configuration settings for Form Controls differ based on how the Form Controls are registered. Form Controls can be registered through Global Assembly Cache (GAC) or physical path.
Register Form Controls from Global Assembly Cache
The Source Version field displays the version of the form control in the source environment. In the Target field, you can specify the version of the Form Controls that you want to use in target environment. The source version is considered while installing the package if you do not specify the target version.
You can also package the identified custom dependent files which can be installed while installing the package in the target environment. The Source Files field displays the physical assembly path of the Form Controls in the source environment.
Under Install in Global Assembly Cache, click Yes to install the Form Controls and custom dependent files in the GAC of the target environment. Click Add Record to add multiple rows to install additional files in the target environment.
Register Form Controls from a Physical Path
The Custom assembly name source field displays the physical path of the Form Controls in the source environment. You can also package the identified custom dependent files which can be installed while installing the package in the target environment. Click Add Record to add multiple rows to install additional files in the target environment. In the Custom assembly name source field, enter the source file path of the custom dependent files.
If the source folder is relative to the AVEVA Work Tasks installed path, and the folder does not exist in the target environment, then a new folder is created and the files are copied to it. For example, if the path of the file, rating.dll, is C:\Program files\AVEVA\Work Tasks\\FormsCustom Control\rating.dll, then a new folder named FormsCustom Control is created in the target machine and rating.dll is copied to it.
If the source folder is not relative to the AVEVA Work Tasks installed path, then the files are copied to the C:\Program files\AVEVA\Work Tasks\\bin folder. For example, if the path of the file, rating.dll, is C:\FormsCustom Control\rating.dll, then rating.dll is copied to C:\Program files\AVEVA\Work Tasks\\bin folder in the target machine.
The Install in Global Assembly Cache field is optional and is used to install the Form controls and custom dependent files in the GAC of the target environment.
Note: Click the
icon in the row corresponding to a custom dependent file, which should not be added
to the package template.