Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Composable and Model Driven MES

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:

A File Explorer window showing the contents fo the Frame Template module package.

Step 1: Add CSS files to the Work Tasks server

  1. Create an MES folder in the Work Task product folder in the following location: BPMUITemplates\Default\NextGenForms\css

  2. Select and copy all of the CSS files in the package FT_V01.00.00/CSS folder location.

  3. Paste the copied files to the destination Work Task product folder: BPMUITemplates\Default\NextGenForms\css\MES

    A File Explorer window showing the files contained in the Frame Template module BPMUITemplates\Default\NextGenForms\css folder.

Step 2: Add JS files to the Work Tasks server

  1. Create an MES folder in the Work Task product folder in the following location: BPMUITemplates\Default\NextGenForms\js

  2. Select and copy all of the custom JS files from the package FT V01.00.00\JavaScripts folder location.

  3. Paste the copied files to the destination Work Task product folder: BPMUITemplates\Default\NextGenForms\js\MES

    A File Explorer window showing the files contained in the Frame Template module BPMUITemplates\Default\NextGenForms\js folder.

    Step 3: Add base files to the Work Tasks server

    Add widget files

    1. Select the Widgets folder in the ./FT_V01.00.00/Widgets folder location.

    2. Paste the copied folder to the destination Work Task product folder location, replacing all the existing files: ./BPMUITemplates\Default\NextGenForms\custom

      A File Explorer window showing the content of the /FT_V01.00.00/Widgets folder.

      Add MQTTLibrary files

      1. Select the MQTTLibrary folder in the ./FT_V01.00.00/MQTTLibrary folder location.

      2. Paste the copied folder to the destination Work Task product folder location: ./BPMUITemplates\Default\NextGenForms

        A File Explorer window showing the content of the ./FT_V01.00.00/MQTTLibrary folder.

        Add svg files

        1. Select the svg folder in the ./FT_V01.00.00/svg folder location.

        2. Paste the copied folder to the destination Work Task product folder location: ./BPMUITemplates\Default\NextGenForms

          A File Explorer window showing the content of the ./FT_V01.00.00/svg folder.

          Step 4: Install the database package

          Note: Please check the Readme file for detailed instructions related to the database scripts.

          1. 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.

            A File Explorer window showing the content of the ./FT_V01.00.00/SQLScripts folder.

          2. Connect to the SQL Server with Windows Authentication.

          3. Double-click on each script to open it in SQL.

            A File Explorer window showing the FT script file.

          4. 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.

            A SQL Server session showing an example Frame Template package script

            Step 5: Import and install the Work Task package

            1. 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.

            2. 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.

              In This Topic
              TitleResults for “How to create a CRG?”Also Available in