Install the Frame Template module
- Last UpdatedOct 15, 2025
- 4 minute read
The Frame Template (FT) comprises the common components that are used across all projects and modules. A basic layer of commonly used AVEVA Products, MES database, automation interfaces and centralized functionalities like localization, navigation, the AVEVA CONNECT publisher, and others in the solution structure.
Frame Template is the core library of objects, functions, templates. It is the foundation on which all MES Modules are built.
The intention of this module is to be used by other modules/projects as a basis for standard code and structure, especially for functions that are common to all modules and are unavailable in the existing version of the MES products.
The FT package folder contains the following files:

Step 1: Add CSS files to the Work Tasks server
-
Create an MES folder in the Work Task product folder in the following location: BPMUITemplates\Default\NextGenForms\css
-
Select and copy all of the CSS files in the package FT_V01.00.00/CSS folder location.
-
Paste the copied files to the destination Work Task product folder: BPMUITemplates\Default\NextGenForms\css\MES

Step 2: Add JS files to the Work Tasks server
-
Create an MES folder in the Work Task product folder in the following location: BPMUITemplates\Default\NextGenForms\js
-
Select and copy all of the custom JS files from the package FT V01.00.00\JavaScripts folder location.
-
Paste the copied files to the destination Work Task product folder: BPMUITemplates\Default\NextGenForms\js\MES

Step 3: Add base files to the Work Tasks server
Add widget files
-
Select the Widgets folder in the ./FT_V01.00.00/Widgets folder location.
-
Paste the copied folder to the destination Work Task product folder location, replacing all the existing files: ./BPMUITemplates\Default\NextGenForms\custom

Add MQTTLibrary files
-
Select the MQTTLibrary folder in the ./FT_V01.00.00/MQTTLibrary folder location.
-
Paste the copied folder to the destination Work Task product folder location: ./BPMUITemplates\Default\NextGenForms

Add svg files
-
Select the svg folder in the ./FT_V01.00.00/svg folder location.
-
Paste the copied folder to the destination Work Task product folder location: ./BPMUITemplates\Default\NextGenForms

Step 4: Install the database package
Note: Please check the Readme file for detailed instructions related to the database scripts.
-
Navigate to all the folders within the database package (./FT_V01.00.00/SQLScripts) and execute all the scripts in the order they appear in the package.

-
Connect to the SQL Server with Windows Authentication.
-
Double-click on each script to open it in SQL.

-
Execute each script in the MES database (MESDB).
Important: Ensure that you execute the scripts in the specific sequence they appear in the package to maintain proper database structure and functionality.

Step 5: Import and install the Work Task package
-
Import the Frame Template Work Task package (./FT_01.00.00.awsPKG).
For detailed instructions on how to import a Work Task Package using the Enterprise Console, see Import a Work Task package.
-
Install the imported package.
For detailed instructions on how to install the imported package, see Install a Work Task package.
Step 6: Create an MES plant model
-
Use the MES Model Builder to create a plant model.
Important: Ensure that the BOM configuration, shift configuration, downtime configuration, and entity configuration are complete in accordance with the requirements.